File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ add_definitions("-Wall -Wextra")
7
7
8
8
# Once CMake 3.1 is required, you can replace this with CMAKE_CXX_STANDARD
9
9
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" )
10
- set (CMAKE_CXX_FLAGS "--std=gnu++11 ${CMAKE_CXX_FLAGS} " )
10
+ set (CMAKE_CXX_FLAGS "--std=gnu++17 ${CMAKE_CXX_FLAGS} " )
11
11
endif ()
12
12
13
13
find_package (SDL2 2.0.0)
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ set(CALICO_SOURCES
15
15
jagpad.h
16
16
j_eeprom.c
17
17
keywords.h
18
- m_argv.c m_argv.h
19
18
m_main.c
20
19
music.h
21
20
o_main.c
@@ -76,6 +75,7 @@ set(ELIB_SOURCES
76
75
elib/dllist.h
77
76
elib/elib.h
78
77
elib/m_ctype.h
78
+ elib/m_argv.c elib/m_argv.h
79
79
elib/misc.cpp elib/misc.h
80
80
elib/parser.cpp elib/parser.h
81
81
elib/qstring.cpp elib/qstring.h
Original file line number Diff line number Diff line change @@ -135,7 +135,9 @@ static hal_bool POSIX_FileExists(const char *path)
135
135
qstring normpath { path };
136
136
normpath.normalizeSlashes ();
137
137
138
- return (!stat (normpath.constPtr (), &st) && !S_ISDIR (st.st_mode ));
138
+ if (!stat (normpath.constPtr (), &st) && !S_ISDIR (st.st_mode ))
139
+ return HAL_TRUE;
140
+ return HAL_FALSE;
139
141
}
140
142
141
143
//
You can’t perform that action at this time.
0 commit comments