Skip to content

Commit d2521bd

Browse files
committed
chore(r): remove the -D_LIBCPP_DISABLE_AVAILABILITY cpp flag for new macos toolchains (apache#4030)
Fix apache#4025 In the R world, this flag seems no longer needed (added in apache#1672, apache#3034).
1 parent 35b5784 commit d2521bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

r/adbcdrivermanager/src/Makevars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
CXX_STD = CXX17
1919
CONDA_BUILD ?= "0"
20-
PKG_CPPFLAGS=-I../src/c/include -I../src/c -I../src/c/vendor -DADBC_EXPORT="" -D_LIBCPP_DISABLE_AVAILABILITY -DADBC_CONDA_BUILD=$(CONDA_BUILD)
20+
PKG_CPPFLAGS=-I../src/c/include -I../src/c -I../src/c/vendor -DADBC_EXPORT="" -DADBC_CONDA_BUILD=$(CONDA_BUILD)
2121

2222
OBJECTS = driver_test.o \
2323
error.o \

r/adbcsqlite/src/Makevars.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# under the License.
1717

1818
CXX_STD = CXX17
19-
PKG_CPPFLAGS=-I../src/c -I../src/c/include -I../src/c/vendor/ -I../src/c/vendor/fmt/include @cppflags@ -DADBC_EXPORT="" -DFMT_HEADER_ONLY=1 -D_LIBCPP_DISABLE_AVAILABILITY
19+
PKG_CPPFLAGS=-I../src/c -I../src/c/include -I../src/c/vendor/ -I../src/c/vendor/fmt/include @cppflags@ -DADBC_EXPORT="" -DFMT_HEADER_ONLY=1
2020
PKG_LIBS=@libs@
2121

2222
OBJECTS = init.o \

0 commit comments

Comments
 (0)