IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 26, 2010, 2:40:25 PM (16 years ago)
Author:
eugene
Message:

move definition of NAN from dvo.h to ohana.h (non-C99 only)

File:
1 edited

Legend:

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

    r27435 r27484  
    6464    NAN_U_INT   = 0xffffffff,
    6565} DVO_INT_NAN;
    66 
    67 # ifndef NAN
    68 # ifndef BYTE_SWAP
    69 #  define __nan_bytes           { 0x7f, 0xc0, 0, 0 }
    70 # else
    71 #  define __nan_bytes           { 0, 0, 0xc0, 0x7f }
    72 # endif
    73 static union { unsigned char __c[4]; float __d; } __nan_union
    74     __attribute_used__ = { __nan_bytes };
    75 # define NAN    (__nan_union.__d)
    76 # endif
    7766
    7867/* RegImage.flag values */
Note: See TracChangeset for help on using the changeset viewer.