This is an automated email from the ASF dual-hosted git repository.

damjan pushed a commit to branch windows-amd64
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit 7a44928a829e261b91f476fa50e3de7b60bc3d83
Author: Damjan Jovanovic <dam...@apache.org>
AuthorDate: Sat Jan 4 11:10:51 2025 +0200

    Add additional types unixODBC needs on Win64.
    
    Patch by: me
---
 main/connectivity/source/inc/odbc/OFunctiondefs.hxx | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/main/connectivity/source/inc/odbc/OFunctiondefs.hxx 
b/main/connectivity/source/inc/odbc/OFunctiondefs.hxx
index d312dddd77..124d8564c2 100644
--- a/main/connectivity/source/inc/odbc/OFunctiondefs.hxx
+++ b/main/connectivity/source/inc/odbc/OFunctiondefs.hxx
@@ -34,6 +34,11 @@
 
 // just to go with calling convention of windows
 #define SQL_API __stdcall
+// On Win64, we need additional types predefined:
+#if _WIN64
+typedef long long INT64;
+typedef unsigned long long UINT64;
+#endif
 #include <odbc/sqlext.h>
 #undef SQL_API
 #define SQL_API __stdcall

Reply via email to