Skip to content

Commit 6925174

Browse files
committed
Fixed another case of a warning reported by gcc 10.2.0.
1 parent 2757637 commit 6925174

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

chenclient/main.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
https://github.com/cosinekitty/chenard/wiki/ChenServer
55
*/
66

7-
#define CHENARD_LINUX (defined(__linux__) || defined(__APPLE__))
7+
#if defined(__linux__) || defined(__APPLE__)
8+
# define CHENARD_LINUX 1
9+
#else
10+
# define CHENARD_LINUX 0
11+
#endif
812

913
#include <stdlib.h>
1014
#include <string>

0 commit comments

Comments
 (0)