[Sumover-dev] [svn commit] r4800 - common/trunk/src

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Sat May 8 08:31:39 BST 2010


Author: douglask
Date: Sat May  8 08:31:39 2010
New Revision: 4800

Modified:
   common/trunk/src/config_unix.h
   common/trunk/src/config_win32.h

Log:
Use HAVE_CONFIG_H preprocessor conditional for including uclconf.h,
a autoconf configure generated header file


Modified: common/trunk/src/config_unix.h
==============================================================================
--- common/trunk/src/config_unix.h	(original)
+++ common/trunk/src/config_unix.h	Sat May  8 08:31:39 2010
@@ -38,7 +38,9 @@
 #ifndef _CONFIG_UNIX_H
 #define _CONFIG_UNIX_H
 
+#ifdef HAVE_CONFIG_H
 #include "uclconf.h"
+#endif
 
 #include <limits.h>
 #include <sys/types.h>

Modified: common/trunk/src/config_win32.h
==============================================================================
--- common/trunk/src/config_win32.h	(original)
+++ common/trunk/src/config_win32.h	Sat May  8 08:31:39 2010
@@ -38,7 +38,9 @@
 #ifndef _CONFIG_WIN32_H
 #define _CONFIG_WIN32_H
 
+#ifdef HAVE_CONFIG_H
 #include "uclconf.h"
+#endif
 
 #include <limits.h>
 #include <malloc.h>



More information about the Sumover-dev mailing list