You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by li...@apache.org on 2023/09/27 22:30:58 UTC

[arrow-adbc] branch main updated: ci: Don't redefine ADBC_EXPORTING (#1122)

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

lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new 8b779de5 ci: Don't redefine ADBC_EXPORTING (#1122)
8b779de5 is described below

commit 8b779de59492c721a7ff359c40e53d19c0d3970e
Author: William Ayd <wi...@icloud.com>
AuthorDate: Wed Sep 27 18:30:52 2023 -0400

    ci: Don't redefine ADBC_EXPORTING (#1122)
---
 go/adbc/drivermgr/wrapper.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/go/adbc/drivermgr/wrapper.go b/go/adbc/drivermgr/wrapper.go
index 161ff608..9ff17202 100644
--- a/go/adbc/drivermgr/wrapper.go
+++ b/go/adbc/drivermgr/wrapper.go
@@ -21,7 +21,9 @@ package drivermgr
 // #cgo windows CFLAGS: -DADBC_EXPORTING
 // #cgo windows CPPFLAGS: -DADBC_EXPORTING
 // #cgo CXXFLAGS: -std=c++11
+// #if !defined(ADBC_EXPORTING)
 // #define ADBC_EXPORTING
+// #endif
 // #include "adbc.h"
 // #include <stdlib.h>
 //