Fix silly mistakes

This commit is contained in:
Mikael Ronstrom 2009-03-07 00:12:36 +01:00
parent c6a6820ed7
commit 6755c5dd27

View file

@ -32,11 +32,11 @@ IF (NOT WITHOUT_ATOMICS)
TRY_RUN(RUN_RES COMPILE_RES ${CMAKE_BINARY_DIR}
${CMAKE_SOURCE_DIR}/storage/innobase/win_atomics64_test.c)
IF (RUN_RES)
ADD_DEFINTIONS(-DWIN_ATOMICS64)
ADD_DEFINITIONS(-DWIN_ATOMICS64)
ENDIF (RUN_RES)
ELSE (CMAKE_SIZEOF_VOID_P MATCHES 8)
# 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)
IF (RUN_RES)
ADD_DEFINITIONS(-DWIN_ATOMICS32)