[NeoStats-Devel] [Commits] r2655 - in trunk: include src

[email protected]
Newsgroups gmane.comp.neostats.devel
Message-ID <[email protected]>
Author: Mark
Date: Fri Jul  8 06:41:01 2005
New Revision: 2655

Modified:
   trunk/include/perlmod.h
   trunk/src/confuselexer.c
   trunk/src/neostats.vcproj
Log:
make win32 version compile again, runtime not tested

Modified: trunk/include/perlmod.h
==============================================================================
--- trunk/include/perlmod.h	(original)
+++ trunk/include/perlmod.h	Fri Jul  8 06:41:01 2005
@@ -23,8 +23,8 @@
 
 #ifndef _PERLMOD_H_
 #define _PERLMOD_H_
-#include "config.h"
 #ifdef USE_PERL
+#include "config.h"
 
 #ifdef PERLDEFINES
 #include <EXTERN.h>

Modified: trunk/src/confuselexer.c
==============================================================================
--- trunk/src/confuselexer.c	(original)
+++ trunk/src/confuselexer.c	Fri Jul  8 06:41:01 2005
@@ -9,8 +9,9 @@
 #define YY_FLEX_MINOR_VERSION 5
 
 #include <stdio.h>
+#ifndef WIN32
 #include <unistd.h>
-
+#endif /* WIN32 */
 
 /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
 #ifdef c_plusplus
@@ -467,9 +468,11 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
  */
 
+#ifndef WIN32
 #ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
+#endif /* WIN32 */
 
 #include <assert.h>
 

Modified: trunk/src/neostats.vcproj
==============================================================================
--- trunk/src/neostats.vcproj	(original)
+++ trunk/src/neostats.vcproj	Fri Jul  8 06:41:01 2005
@@ -201,9 +201,6 @@
 				RelativePath=".\dns.c">
 			</File>
 			<File
-				RelativePath=".\dotconf.c">
-			</File>
-			<File
 				RelativePath=".\exclude.c">
 			</File>
 			<File
@@ -362,9 +359,6 @@
 				RelativePath="..\include\dns.h">
 			</File>
 			<File
-				RelativePath="..\include\dotconf.h">
-			</File>
-			<File
 				RelativePath="..\include\events.h">
 			</File>
 			<File
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.