diff options
Diffstat (limited to 'ares_private.h')
-rw-r--r-- | ares_private.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/ares_private.h b/ares_private.h index 01a79b6..78f3a1c 100644 --- a/ares_private.h +++ b/ares_private.h @@ -52,7 +52,6 @@ #if defined(WIN32) && !defined(WATT32) -#define IS_NT() ((int)GetVersion() > 0) #define WIN_NS_9X "System\\CurrentControlSet\\Services\\VxD\\MSTCP" #define WIN_NS_NT_KEY "System\\CurrentControlSet\\Services\\Tcpip\\Parameters" #define NAMESERVER "NameServer" @@ -345,6 +344,20 @@ long ares__tvdiff(struct timeval t1, struct timeval t2); (c)->sock_state_cb((c)->sock_state_cb_data, (s), (r), (w)); \ } while (0) +#if (defined(WIN32) || defined(WATT32)) && !defined(MSDOS) + +typedef enum { + WIN_UNKNOWN, + WIN_3X, + WIN_9X, + WIN_NT, + WIN_CE +} win_platform; + +win_platform getplatform(void); + +#endif + #ifdef CURLDEBUG /* This is low-level hard-hacking memory leak tracking and similar. Using the libcurl lowlevel code from within library is ugly and only works when |