Commit 6755c5dd authored by Mikael Ronstrom's avatar Mikael Ronstrom

Fix silly mistakes

parent c6a6820e
...@@ -32,11 +32,11 @@ IF (NOT WITHOUT_ATOMICS) ...@@ -32,11 +32,11 @@ IF (NOT WITHOUT_ATOMICS)
TRY_RUN(RUN_RES COMPILE_RES ${CMAKE_BINARY_DIR} TRY_RUN(RUN_RES COMPILE_RES ${CMAKE_BINARY_DIR}
${CMAKE_SOURCE_DIR}/storage/innobase/win_atomics64_test.c) ${CMAKE_SOURCE_DIR}/storage/innobase/win_atomics64_test.c)
IF (RUN_RES) IF (RUN_RES)
ADD_DEFINTIONS(-DWIN_ATOMICS64) ADD_DEFINITIONS(-DWIN_ATOMICS64)
ENDIF (RUN_RES) ENDIF (RUN_RES)
ELSE (CMAKE_SIZEOF_VOID_P MATCHES 8) ELSE (CMAKE_SIZEOF_VOID_P MATCHES 8)
# Check for 32 bit atomics # Check for 32 bit atomics
TRY_RUN(run_res compile_res ${CMAKE_BINARY_DIR} TRY_RUN(RUN_RES COMPILE_RES ${CMAKE_BINARY_DIR}
${CMAKE_SOURCE_DIR}/storage/innobase/win_atomics32_test.c) ${CMAKE_SOURCE_DIR}/storage/innobase/win_atomics32_test.c)
IF (RUN_RES) IF (RUN_RES)
ADD_DEFINITIONS(-DWIN_ATOMICS32) ADD_DEFINITIONS(-DWIN_ATOMICS32)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment