Update of /cvsroot/netrek/client/netrekxp/win32
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv2642/win32
Modified Files:
config.h
Log Message:
Update build instructions for Visual Studio 2010.
Fix conflict with hypot and different versions of MS header files.
Index: config.h
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/win32/config.h,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- config.h 9 Jun 2009 02:23:00 -0000 1.32
+++ config.h 30 Sep 2010 22:06:52 -0000 1.33
@@ -196,7 +196,10 @@
#endif
/* For math.h, really */
+#if _MSC_VER < 1500 /* versions lower than VC9 may require this */
#define hypot _hypot
+#endif
+
/* for io.h */
#define read _read
#define close _close
_______________________________________________
netrek-cvs mailing list
[email protected]
http://mailman.us.netrek.org/mailman/listinfo/netrek-cvs