Browse Source

r11996@catbus: nickm | 2007-02-28 13:52:48 -0500
Add an MSC_VER check I missed.


svn:r9684

Nick Mathewson 18 years ago
parent
commit
2ee2e63631
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/or/or.h

+ 2 - 2
src/or/or.h

@@ -95,9 +95,9 @@
  * select() anywhere in our application or in anything it links to: these
  * select() anywhere in our application or in anything it links to: these
  * documents are either the holy texts of a cargo cult of network
  * documents are either the holy texts of a cargo cult of network
  * programmers, or more likely a simplification of what's going on for
  * programmers, or more likely a simplification of what's going on for
- * people who haven't read winsock[2].c for themselves.
+ * people who haven't read winsock[2].h for themselves.
  */
  */
-#if (_MSC_VER <= 1300)
+#if defined(_MSC_VER) && (_MSC_VER <= 1300)
 #include <winsock.h>
 #include <winsock.h>
 #else
 #else
 #include <winsock2.h>
 #include <winsock2.h>