summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ntlib.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib-src/ntlib.h b/lib-src/ntlib.h
index 385db6dba64..2a7ccbb79b7 100644
--- a/lib-src/ntlib.h
+++ b/lib-src/ntlib.h
@@ -51,7 +51,7 @@ int fchown (int fd, int uid, int gid);
#define bcmp(a, b, l) memcmp(a, b, l)
#endif
-/* redirect or undo interceptions by config.h */
+/* redirect or undo interceptions created by config.h */
#undef access
#define access _access
#undef chdir
@@ -111,4 +111,7 @@ int fchown (int fd, int uid, int gid);
#define index strchr
#define rindex strrchr
+/* Make standard winsock definitions available if needed. */
+#undef _WINSOCKAPI_
+
/* end of ntlib.h */