Skip to content

Commit 332d9f7

Browse files
committed
- 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
1 parent 646ecb8 commit 332d9f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/connect/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ IF(UNIX)
7878

7979
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive -fexceptions -fPIC ")
8080
get_property(inc_dirs DIRECTORY PROPERTY INCLUDE_DIRECTORIES)
81-
SET(CONNECT_SOURCES ${CONNECT_SOURCES} inihandl.c)
81+
SET(CONNECT_SOURCES ${CONNECT_SOURCES} inihandl.cpp)
8282
SET(IPHLPAPI_LIBRARY "")
8383
ELSE(NOT UNIX)
8484
SET(CONNECT_SOURCES ${CONNECT_SOURCES}

0 commit comments

Comments
 (0)