Fix WIN_VER to WINVER

This commit is contained in:
Gpower2
2016-09-18 01:38:37 +03:00
committed by roytam1
parent 738916d084
commit 2767cd7e2d
+1 -1
View File
@@ -68,7 +68,7 @@ int nr_reg_uint8_fetch_and_check(NR_registry key, UINT8 min, UINT8 max, int log_
int snprintf(char *buffer, size_t n, const char *format, ...);
// When using Windows Vista+ header files, inet_ntop is already defined
// with a different type modifier, so we don't redefine it
#if defined(WIN_VER) && WIN_VER <0x0600
#if defined(WINVER) && WINVER <0x0600
const char *inet_ntop(int af, const void *src, char *dst, size_t size);
#endif
#endif