IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33779 for trunk


Ignore:
Timestamp:
Apr 13, 2012, 9:49:54 AM (14 years ago)
Author:
heather
Message:

changes to make it compile on mac lion

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libdvo/include/dvo.h

    r33649 r33779  
    268268  int Nhosts;
    269269  HostInfo *hosts;
    270   unsigned short *index;
     270  short *index;
    271271} HostTable;
    272272
  • trunk/Ohana/src/libdvo/src/HostTable.c

    r33649 r33779  
    121121  table->hosts = hosts;
    122122
    123   ALLOCATE (table->index, unsigned short, maxID + 1);
     123  ALLOCATE (table->index, short, maxID + 1);
    124124  for (i = 0; i <= maxID; i++) table->index[i] = -1;
    125125
  • trunk/Ohana/src/libkapa/src/bDrawFuncs.c

    r33650 r33779  
    7777
    7878void bDrawSetStyle (bDrawBuffer *buffer, bDrawColor color, int lw, int lt) {
    79   if (color >= 0) {
     79  //  if (color >= 0) {
    8080    buffer->bColor = color;
    8181    buffer->bColor_R = buffer->palette[color].red;
    8282    buffer->bColor_G = buffer->palette[color].green;
    8383    buffer->bColor_B = buffer->palette[color].blue;
    84   }
     84    //}
    8585  buffer->bWeight = lw;
    8686  buffer->bType = lt;
  • trunk/Ohana/src/libohana/include/ohana.h

    r33646 r33779  
    128128# endif
    129129
    130 # if defined(darwin_x86) || defined(_DARWIN_C_SOURCE)
     130# if defined(darwin_x86) || defined(_DARWIN_C_SOURCE) || defined(__APPLE__)
    131131# define BYTE_SWAP
    132132# endif
     
    164164// # endif
    165165# ifdef darwin_x86
     166# define OFF_T_FMT "%lld"
     167# endif
     168// x86_64 for mac os x 10.7 (lion)
     169# ifdef __x86_64
    166170# define OFF_T_FMT "%lld"
    167171# endif
  • trunk/Ohana/src/libohana/src/rconnect.c

    r33646 r33779  
    22# include <sys/types.h>
    33# include <sys/wait.h>
     4# include <signal.h>  //man page says include this for kill
    45
    56# define DEBUG 1
  • trunk/ippTools/src/addtool.c

    r33705 r33779  
    14171417  psString query = NULL;
    14181418  psStringAppend(&query, bare_query, minidvodb_group);
    1419   psStringAppend(&query, where_string);
     1419  psStringAppend(&query," %s ", where_string);
    14201420
    14211421
Note: See TracChangeset for help on using the changeset viewer.