[GRASS-SVN] r31908 - grass/branches/develbranch_6/db/drivers/odbc
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jun 30 16:34:47 EDT 2008
Author: neteler
Date: 2008-06-30 16:34:47 -0400 (Mon, 30 Jun 2008)
New Revision: 31908
Modified:
grass/branches/develbranch_6/db/drivers/odbc/odbc.h
Log:
On Windows, <sql.h> needs <windows.h> (merge from trunk)
Modified: grass/branches/develbranch_6/db/drivers/odbc/odbc.h
===================================================================
--- grass/branches/develbranch_6/db/drivers/odbc/odbc.h 2008-06-30 20:33:46 UTC (rev 31907)
+++ grass/branches/develbranch_6/db/drivers/odbc/odbc.h 2008-06-30 20:34:47 UTC (rev 31908)
@@ -1,6 +1,10 @@
#ifndef _ODBC_H_
#define _ODBC_H_
+#ifdef __MINGW32__
+#include <windows.h>
+#endif
+
/* configure checks for sql.h and stores in $(ODBCINC) */
#include <sql.h>
#include <sqlext.h>
More information about the grass-commit
mailing list