Skip to content

Commit 4689386

Browse files
committed
Fix datetime.c compilation on windows
1 parent 269f721 commit 4689386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python.cext/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ target_include_directories(${TARGET_LIBPYTHON} PRIVATE
253253
# target-specific compile and link options
254254
######################################################################
255255

256-
target_compile_definitions(${TARGET_LIBPYTHON} PRIVATE Py_BUILD_CORE)
256+
target_compile_definitions(${TARGET_LIBPYTHON} PRIVATE Py_BUILD_CORE Py_BUILD_CORE_BUILTIN)
257257
target_compile_options(${TARGET_LIBPYTHON} PRIVATE ${CFLAGS_WARNINGS})
258258

259259
if(WIN32)

0 commit comments

Comments
 (0)