Author: ilor
Date: Thu Jun 12 16:24:08 2008
New Revision: 27119

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27119&view=rev
Log:
fix compilation error on mingw/gcc 4.2.1

Modified:
    trunk/src/network_worker.hpp

Modified: trunk/src/network_worker.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/network_worker.hpp?rev=27119&r1=27118&r2=27119&view=diff
==============================================================================
--- trunk/src/network_worker.hpp (original)
+++ trunk/src/network_worker.hpp Thu Jun 12 16:24:08 2008
@@ -17,8 +17,10 @@
 
 // Check if sendfile function is implemented by glibc
 // It is linux only extension
-#if defined(__linux__) && defined(__GNUC_PREREQ) && __GNUC_PREREQ(2,1)
+#if defined(__linux__) && defined(__GNUC_PREREQ)
+#if __GNUC_PREREQ(2,1)
 #define USE_SENDFILE
+#endif
 #endif
 
 


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to