[Winpt-commits] r60 - trunk/Src

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Wed Nov 2 15:35:49 CET 2005


Author: twoaday
Date: 2005-11-02 15:35:48 +0100 (Wed, 02 Nov 2005)
New Revision: 60

Modified:
   trunk/Src/wptListView.cpp
   trunk/Src/wptUtil.cpp
Log:
Depend on config.h to get system constants.



Modified: trunk/Src/wptListView.cpp
===================================================================
--- trunk/Src/wptListView.cpp	2005-11-02 13:50:48 UTC (rev 59)
+++ trunk/Src/wptListView.cpp	2005-11-02 14:35:48 UTC (rev 60)
@@ -22,11 +22,6 @@
 #include <config.h>
 #endif
 
-#ifdef __MINGW32__
-#include <w32api.h>
-#define _WIN32_IE IE401
-#endif
-
 #include <stdio.h>
 #include <stdio.h>
 #include <windows.h>

Modified: trunk/Src/wptUtil.cpp
===================================================================
--- trunk/Src/wptUtil.cpp	2005-11-02 13:50:48 UTC (rev 59)
+++ trunk/Src/wptUtil.cpp	2005-11-02 14:35:48 UTC (rev 60)
@@ -68,7 +68,7 @@
 
 
 /* Like strstr but this version is case in-sentensive. */
-exten "C" const char *
+extern "C" const char *
 stristr (const char *buf, const char *sub)
 {
     const char *t, *s ;



More information about the Winpt-commits mailing list