This is an automated email from the ASF dual-hosted git repository. leginee pushed a commit to branch bazel-migration in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit 6afc43d245f7e2efe900cd87c207480da65d5b91 Author: Damjan Jovanovic <[email protected]> AuthorDate: Sat Jan 4 11:10:51 2025 +0200 Add additional types unixODBC needs on Win64. Patch by: me (cherry picked from commit 7a44928a829e261b91f476fa50e3de7b60bc3d83) (cherry picked from commit d91b741f1e44bf860b73c598e45198aefbdc7ebf) --- 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 8466311815..aadf19314b 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
