IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34244


Ignore:
Timestamp:
Jul 31, 2012, 11:45:19 AM (14 years ago)
Author:
eugene
Message:

changes from trunk: adding mac cases to get OFF_T_FMT right (is there a better way)

Location:
branches/eam_branches/ipp-20120627/Ohana/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120627/Ohana/src/libohana/include/ohana.h

    r33784 r34244  
    155155/* if your build crashes on OFF_T_MODE, you probably need to add your 64bit hardware to this list */
    156156# ifdef _LARGEFILE_SOURCE
    157 # define OFF_T_FMT "%jd"
    158 # endif
     157#  define OFF_T_FMT "%jd"
     158# endif
     159
    159160# ifdef lin64
    160 # define OFF_T_FMT "%jd"
    161 # endif
    162 // # ifdef _DARWIN_C_SOURCE
    163 // # define OFF_T_FMT "%lld"
    164 // # endif
     161#  define OFF_T_FMT "%jd"
     162# endif
     163
     164// mac is annoying
     165# ifdef _DARWIN_C_SOURCE
     166#  define OFF_T_FMT "%lld"
     167# endif
    165168# ifdef darwin_x86
    166 # define OFF_T_FMT "%lld"
    167 # endif
     169#  define OFF_T_FMT "%lld"
     170# endif
     171# ifdef darwin
     172#  define OFF_T_FMT "%lld"
     173# endif
     174
    168175// for mac os x 10.7 (lion): they don't use darwin, and i want to make sure it grabs for 10.7 and 64 bit (are they all 64 bit?)
    169176# if defined(__APPLE__) && defined(x86_64)
    170 # define OFF_T_FMT "%lld"
    171 # endif
     177#  define OFF_T_FMT "%lld"
     178# endif
     179
    172180# ifndef OFF_T_FMT
    173 # define OFF_T_FMT "%ld"
     181#  define OFF_T_FMT "%ld"
    174182# endif
    175183
  • branches/eam_branches/ipp-20120627/Ohana/src/opihi/cmd.astro

    • Property svn:mergeinfo changed (with no actual effect on merging)
Note: See TracChangeset for help on using the changeset viewer.