Go to the documentation of this file.
56 #define GEMD_OUT_OF_MEMORY -1
57 #define EVENT_TIMEDOUT -2
58 #define EVENT_TERMINATE -3
102 char dest[LINE_SIZE],
113 #define ERROR_BUFFER_LEN (size_t)256
117 #if !defined(__cplusplus) || defined(UPNP_USE_MSVCPP)
120 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
123 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
125 #define EADDRINUSE WSAEADDRINUSE
126 #define strcasecmp stricmp
127 #define strncasecmp strnicmp
128 #define sleep(a) Sleep((a)*1000)
129 #define usleep(a) Sleep((a)/1000)
130 #define strerror_r(a,b,c) (strerror_s((b),(c),(a)))
132 #define max(a, b) (((a)>(b))? (a):(b))
133 #define min(a, b) (((a)<(b))? (a):(b))