[Spread-cvs] commit: r289 - trunk/daemon
jonathan at spread.org
jonathan at spread.org
Wed Feb 8 03:46:41 EST 2006
Author: jonathan
Date: 2006-02-08 03:46:41 -0500 (Wed, 08 Feb 2006)
New Revision: 289
Modified:
trunk/daemon/Changelog
trunk/daemon/arch.h
Log:
Fix for broken compile with Windows DLL. They need to use the
official system version of strerror and not our internal version.
So add HAVE_STRERROR to arch.h.
Modified: trunk/daemon/Changelog
===================================================================
--- trunk/daemon/Changelog 2006-02-08 08:20:18 UTC (rev 288)
+++ trunk/daemon/Changelog 2006-02-08 08:46:41 UTC (rev 289)
@@ -1,3 +1,9 @@
+Wed Feb 8 03:44:23 2006 Jonathan Stanton <jonathan at cnds.jhu.edu>
+
+ * arch.h: Add HAVE_STRERROR for Windows builds. This avoids
+ a compile error with shared DLL libraries. Discovered and
+ fixed by Jacob Green.
+
Tue Feb 07 11:31:42 2006 Jonathan Stanton <jonathan at spreadconcepts.com>
ifdef out debugging code to avoid compile warning.
Modified: trunk/daemon/arch.h
===================================================================
--- trunk/daemon/arch.h 2006-02-08 08:20:18 UTC (rev 288)
+++ trunk/daemon/arch.h 2006-02-08 08:46:41 UTC (rev 289)
@@ -124,6 +124,10 @@
typedef unsigned long socklen_t;
#define BADCLOCK
#define HAVE_GOOD_VARGS
+/* Windows now has a strerror function and if we do not use it
+ * compile errors occur with shared DLL libraries.
+ */
+#define HAVE_STRERROR
/* This size is for packing several messages into one packet */
#define ARCH_SCATTER_SIZE 64
#define ERR_TIMEDOUT EAGAIN
More information about the Spread-cvs
mailing list