Skip to content

Commit cfee362

Browse files
committed
Sets a correct value of __cplusplus in MSVC, so Apache Arrow can compile in Windows.
1 parent 80ebbc8 commit cfee362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def create_options(self):
213213
import numpy as np
214214

215215
c_opts = {
216-
'msvc': ['/EHsc', "/std:c++17", "/experimental:external", "/external:W0",
216+
'msvc': ['/EHsc', "/std:c++17", "/Zc:__cplusplus", "/experimental:external", "/external:W0",
217217
"/external:I" + pa.get_include(),
218218
"/external:I" + np.get_include(),
219219
"/external:Ilib\\eigen-3.3.7",

0 commit comments

Comments
 (0)