Skip to content
Permalink
Browse files
- 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
  • Loading branch information
Buggynours committed Oct 31, 2017
1 parent 646ecb8 commit 332d9f7
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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}

0 comments on commit 332d9f7

Please sign in to comment.