diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2017-10-31 18:53:15 +0100 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2017-10-31 18:53:15 +0100 |
commit | 332d9f7b02f0bac8a7b11ab74ab34a9e64bbd298 (patch) | |
tree | 098d62564cff18645b825195119861b6d3f5a953 | |
parent | 646ecb8970eadc6d543ed831d07c2612d64dad48 (diff) | |
download | mariadb-git-332d9f7b02f0bac8a7b11ab74ab34a9e64bbd298.tar.gz |
- Change inihandl from c to c++.
Because it now includes global.h that contains a bool function definition
that make compile to fail on Linux.
modified: storage/connect/CMakeLists.txt
removed: storage/connect/inihandl.c
added: storage/connect/inihandl.cpp
-rw-r--r-- | storage/connect/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/CMakeLists.txt b/storage/connect/CMakeLists.txt index 413a9f40f01..3a1585e3e8f 100644 --- a/storage/connect/CMakeLists.txt +++ b/storage/connect/CMakeLists.txt @@ -78,7 +78,7 @@ IF(UNIX) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive -fexceptions -fPIC ") get_property(inc_dirs DIRECTORY PROPERTY INCLUDE_DIRECTORIES) - SET(CONNECT_SOURCES ${CONNECT_SOURCES} inihandl.c) + SET(CONNECT_SOURCES ${CONNECT_SOURCES} inihandl.cpp) SET(IPHLPAPI_LIBRARY "") ELSE(NOT UNIX) SET(CONNECT_SOURCES ${CONNECT_SOURCES} |