mail[Wesnoth-commits] r27119 - /trunk/src/network_worker.hpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by kailoran on June 12, 2008 - 16:24:
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
 
 




Related Messages


Powered by MHonArc, Updated Thu Jun 12 17:01:51 2008