[or-cvs] r9684: Add an MSC_VER check I missed. (in tor/trunk: . src/or)

nickm at seul.org nickm at seul.org
Wed Feb 28 18:53:10 UTC 2007


Author: nickm
Date: 2007-02-28 13:52:57 -0500 (Wed, 28 Feb 2007)
New Revision: 9684

Modified:
   tor/trunk/
   tor/trunk/src/or/or.h
Log:
 r11996 at catbus:  nickm | 2007-02-28 13:52:48 -0500
 Add an MSC_VER check I missed.



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r11996] on 8246c3cf-6607-4228-993b-4d95d33730f1

Modified: tor/trunk/src/or/or.h
===================================================================
--- tor/trunk/src/or/or.h	2007-02-28 18:08:58 UTC (rev 9683)
+++ tor/trunk/src/or/or.h	2007-02-28 18:52:57 UTC (rev 9684)
@@ -95,9 +95,9 @@
  * select() anywhere in our application or in anything it links to: these
  * documents are either the holy texts of a cargo cult of network
  * 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>
 #else
 #include <winsock2.h>



More information about the tor-commits mailing list