|
Boost-Commit : |
From: nicola.musatti_at_[hidden]
Date: 2008-01-15 18:07:22
Author: nmusatti
Date: 2008-01-15 18:07:21 EST (Tue, 15 Jan 2008)
New Revision: 42808
URL: http://svn.boost.org/trac/boost/changeset/42808
Log:
Put platform specific guard around the inclusion of windows.h
Text files modified:
sandbox/sql_cli/boost/sql_cli/odbc/odbc_config.hpp | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
Modified: sandbox/sql_cli/boost/sql_cli/odbc/odbc_config.hpp
==============================================================================
--- sandbox/sql_cli/boost/sql_cli/odbc/odbc_config.hpp (original)
+++ sandbox/sql_cli/boost/sql_cli/odbc/odbc_config.hpp 2008-01-15 18:07:21 EST (Tue, 15 Jan 2008)
@@ -10,7 +10,10 @@
#if ! defined(BOOST_SQL_CLI_ODBC_CONFIG_HPP)
#define BOOST_SQL_CLI_ODBC_CONFIG_HPP
-#include <windows.h>
+#if defined(_WIN32)
+# include <windows.h>
+#endif
+
#include <sql.h>
#include <sqlext.h>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk