[Spread-cvs] commit: r429 - trunk/daemon

jonathan at spread.org jonathan at spread.org
Thu Jun 11 13:37:35 EDT 2009


Author: jonathan
Date: 2009-06-11 13:37:35 -0400 (Thu, 11 Jun 2009)
New Revision: 429

Modified:
   trunk/daemon/Changelog
   trunk/daemon/config_gram.l
Log:
Force lex parser to not include unistd.h header for Windows builds.


Modified: trunk/daemon/Changelog
===================================================================
--- trunk/daemon/Changelog	2009-06-11 17:35:32 UTC (rev 428)
+++ trunk/daemon/Changelog	2009-06-11 17:37:35 UTC (rev 429)
@@ -1,3 +1,8 @@
+Thu Jun 11 13:36:11 2009  Jonathan Stanton  <jonathan at spreadconcepts.com>
+
+	* config_gram.l: Define YY_NO_UNISTD_H for Windows builds so that
+	the header is not included in the parser. 
+
 Fri Jun  5 09:55:55 2009  Jonathan Stanton  <jonathan at spreadconcepts.com>
 
 	* stdutil/*: Merge stdutil-1.1.0 release into Spread source. No

Modified: trunk/daemon/config_gram.l
===================================================================
--- trunk/daemon/config_gram.l	2009-06-11 17:35:32 UTC (rev 428)
+++ trunk/daemon/config_gram.l	2009-06-11 17:37:35 UTC (rev 429)
@@ -45,6 +45,7 @@
 #else /* ARCH_PC_WIN95 */
 
 #include <winsock.h>
+#define YY_NO_UNISTD_H  /* Do not include unistd.h header in windows compiles */
 
 #endif /* ARCH_PC_WIN95 */
 




More information about the Spread-cvs mailing list