Author: mordante
Date: Sun Jul 13 11:55:43 2008
New Revision: 27977
URL: http://svn.gna.org/viewcvs/wesnoth?rev=27977&view=rev
Log:
Added check whether sendfile is in glibc (debian patch #490638).
(The code in trunk already has this fix.)
Modified:
branches/1.4/changelog
branches/1.4/src/network_worker.hpp
Modified: branches/1.4/changelog
URL:
http://svn.gna.org/viewcvs/wesnoth/branches/1.4/changelog?rev=27977&r1=27976&r2=27977&view=diff
==============================================================================
--- branches/1.4/changelog (original)
+++ branches/1.4/changelog Sun Jul 13 11:55:43 2008
@@ -9,6 +9,7 @@
* Fixed timer end warning not to play in opponents turn (bug: #11517)
* fix bug #11630 (preventing redo and rename during opponent's turn)
* Added recursion preventarion to [kill] fire_event=yes [/kill]
+ * Added check whether sendfile is in glibc (debian patch #490638)
Version 1.4.3:
* campaigns:
Modified: branches/1.4/src/network_worker.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/branches/1.4/src/network_worker.hpp?rev=27977&r1=27976&r2=27977&view=diff
==============================================================================
--- branches/1.4/src/network_worker.hpp (original)
+++ branches/1.4/src/network_worker.hpp Sun Jul 13 11:55:43 2008
@@ -17,7 +17,7 @@
// Check if sendfile function is implemented by glibc
// It is linux only extension
-#ifdef __GNUC_PREREQ
+#if defined(__linux__) && defined(__GNUC_PREREQ)
#if __GNUC_PREREQ(2,1)
#define USE_SENDFILE
#endif
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits