38 # define UPS_OS_WIN32 1
46 # error "Neither WIN32 nor WIN64 defined!"
50 # define UPS_OS_POSIX 1
51 # if defined(__LP64__) || defined(__LP64) || __WORDSIZE == 64
60 #if defined(UPS_OS_POSIX) && defined(UPS_OS_WIN32)
61 # error "Unknown arch - neither UPS_OS_POSIX nor UPS_OS_WIN32 defined"
70 #if defined(_MSC_VER) && defined(UPS_OS_WIN32)
71 # if (defined(WIN32) || defined(__WIN32)) && !defined(UNDER_CE)
72 # if defined(DEBUG) || defined(_DEBUG)
73 # ifndef _CRTDBG_MAP_ALLOC
74 # define _CRTDBG_MAP_ALLOC 1
87 # define UPS_EXPORT __declspec(dllexport)
89 # define UPS_EXPORT extern
124 #undef UPS_INVALID_FD
133 #define UPS_TRUE (!UPS_FALSE)
unsigned __int64 uint64_t