mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Fix silly mistakes
This commit is contained in:
parent
c6a6820ed7
commit
6755c5dd27
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue