Please consider the attached patch.

While the Windows filesystems are case insensitive, other systems are case sensitive. While cross-compiling all lower case filenames seem to be the norm. Both MinGW and Cygwin seem to have windows.h in their APIs. See http://sourceforge.net/apps/trac/cppcheck/ticket/4636 for a short discussion on this issue.

Mike
diff -Naur soci-3.2.2/core/connection-pool.cpp soci-3.2.2-patched/core/connection-pool.cpp
--- soci-3.2.2/core/connection-pool.cpp 2013-08-21 18:40:11.000000000 -0400
+++ soci-3.2.2-patched/core/connection-pool.cpp 2013-12-19 19:50:19.710572826 -0500
@@ -183,7 +183,7 @@
 #else
 // Windows implementation
 
-#include <Windows.h>
+#include <windows.h>
 
 using namespace soci;
 
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to