summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/odbcconfig.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/dlg/odbcconfig.cxx')
-rw-r--r--dbaccess/source/ui/dlg/odbcconfig.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/dbaccess/source/ui/dlg/odbcconfig.cxx b/dbaccess/source/ui/dlg/odbcconfig.cxx
index c4b73ee08af0..c1f77fc02dc2 100644
--- a/dbaccess/source/ui/dlg/odbcconfig.cxx
+++ b/dbaccess/source/ui/dlg/odbcconfig.cxx
@@ -56,7 +56,7 @@
#ifdef HAVE_ODBC_SUPPORT
-#if defined(WIN) || defined(OS2)
+#if defined(OS2)
#define ODBC_LIBRARY "ODBC.DLL"
#define ODBC_UI_LIBRARY "ODBCINST.DLL"
#endif
@@ -78,7 +78,7 @@
// just to go with calling convention of windows
// so don't touch this
-#if defined(WIN) || defined(WNT)
+#if defined(WNT)
#define SQL_API __stdcall
// At least under some circumstances, the below #include <odbc/sqlext.h> re-
// defines SQL_API to an empty string, leading to a compiler warning on MSC; to
@@ -88,7 +88,7 @@
#pragma warning(push)
#pragma warning(disable: 4005)
#endif
-#endif // defined(WIN) || defined(WNT)
+#endif // defined(WNT)
#if defined(OS2)
#define ALLREADY_HAVE_OS2_TYPES
@@ -103,13 +103,13 @@
#endif
#endif
-#if defined(WIN) || defined(WNT)
+#if defined(WNT)
#if defined _MSC_VER
#pragma warning(pop)
#endif
#undef SQL_API
#define SQL_API __stdcall
-#endif // defined(WIN) || defined(WNT)
+#endif // defined(WNT)
// from here on you can do what you want to
#if defined(OS2)