37 #ifndef CAEN_INCLUDE_TYPES_CAENMULTIPLATFORMTYPES_H_ 38 #define CAEN_INCLUDE_TYPES_CAENMULTIPLATFORMTYPES_H_ 53 #include <netinet/in.h> 54 #include <sys/types.h> 68 #define MAX_PROC_NARGS 100 72 #define max(a,b) (((a) > (b)) ? (a) : (b)) 76 #define min(a,b) (((a) < (b)) ? (a) : (b)) 81 #define TRUE true // defined in stdbool.h 84 #define FALSE false // defined in stdbool.h 88 #define INFINITE INT32_C(-1) 104 #define DIRSEPS {DIRSEP0, DIRSEP1} 105 #define DIRSEPS_CHAR {'\\', '/'} 106 #define DIRSEPS_STR {'\\', '/', '\0'} 109 #define DIRSEPS {DIRSEP0} 110 #define DIRSEPS_CHAR {'/'} 111 #define DIRSEPS_STR {'/', '\0'} 113 #define DIRSEP DIRSEP0 115 #ifdef _WIN32 // Windows 119 typedef ptrdiff_t handle_type;
127 struct _finddata_t info;
128 struct dirent result;
164 PROCESS_INFORMATION procInfo;
182 #endif // CAEN_INCLUDE_TYPES_CAENMULTIPLATFORMTYPES_H_
Corresponds to FP_INFINITE defined by math.h.
unsigned short wMilliseconds
Corresponds to FP_SUBNORMAL defined by math.h.
Corresponds to FP_NORMAL defined by math.h.
Hash table. Implementation from rxi's "map" project.
c_environment_t environment
Corresponds to FP_ZERO defined by math.h.
Corresponds to FP_NAN defined by math.h.
unsigned short wDayOfWeek