Fixed #if-bug. Thanks to RVDM.
[yaz-moved-to-github.git] / include / yconfig.h
index b8d1fab..3fa446b 100644 (file)
@@ -3,15 +3,15 @@
 
 /* System includes */
 
-#ifdef _VMS_
+#ifndef _VMS_
 
-#elif WINDOWS
+#ifdef WINDOWS
 
 #ifdef YNETINCLUDE
 #include <winsock.h>
 #endif
 
-#else
+#else /* #ifdef WINDOWS */
 /*
  * Standard Unix headers
  */
@@ -32,6 +32,7 @@
 #endif
 
 #endif
+#endif /* ifndef _VMS_ */
 
 #include <xmalloc.h>