summaryrefslogtreecommitdiff
path: root/unixODBC
diff options
context:
space:
mode:
authorOliver-Rainer Wittmann <orw@apache.org>2012-03-09 09:14:17 +0000
committerOliver-Rainer Wittmann <orw@apache.org>2012-03-09 09:14:17 +0000
commitacbecf6c6d457f609336a84572257b1cc5c63f31 (patch)
treee580de7a412519a84d8f48fb575cc23429784cbb /unixODBC
parent89615600884269a49be8ceb18166899dcf0a6435 (diff)
118846 - assure correct calling convention for ODBC function call under Windows
Diffstat (limited to 'unixODBC')
-rw-r--r--unixODBC/inc/iodbcunix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unixODBC/inc/iodbcunix.h b/unixODBC/inc/iodbcunix.h
index eb61ad87ec47..2e309fd4ab06 100644
--- a/unixODBC/inc/iodbcunix.h
+++ b/unixODBC/inc/iodbcunix.h
@@ -98,7 +98,7 @@
#define PASCAL
#define VOID void
#define CALLBACK
-#ifndef OS2
+#if !( defined(OS2) || defined(WNT) )
#define _cdecl
#define __stdcall
#endif