File tree Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ flags_static:
91
91
echo $(filter-out boxes.o,$(ALL_OBJ ) ) > $(OUT_DIR ) /modules.txt
92
92
93
93
flags_win32 :
94
- $(eval CFLAGS := -Os -s -m32 -I. -I$(SRC_DIR ) -Wall -W $(CFLAGS_ADDTL ) )
94
+ $(eval CFLAGS := -Os -s -m32 -D__MINGW32__ - I. -I$(SRC_DIR ) -Wall -W $(CFLAGS_ADDTL ) )
95
95
$(eval LDFLAGS := $(LDFLAGS ) -s -m32 $(LDFLAGS_ADDTL ) )
96
96
$(eval BOXES_EXECUTABLE_NAME := boxes.exe)
97
97
# $(eval ALL_OBJ := $(GEN_SRC:.c=.o) $(ORIG_NORM:.c=.o))
Original file line number Diff line number Diff line change 20
20
#ifndef CONFIG_H
21
21
#define CONFIG_H
22
22
23
- #if defined(__linux__ )
24
- #error SEEE! WE ARE ON __linux__
25
- #endif
26
-
27
- #if defined(__GLIBC__ )
28
- #error SEEE! WE ARE ON __GLIBC__
29
- #endif
30
-
31
- #if defined(__GNU__ )
32
- #error SEEE! WE ARE ON __GNU__
33
- #endif
34
-
35
23
#if defined(__linux__ ) || defined(__GLIBC__ ) || defined(__GNU__ )
36
24
37
25
#define _GNU_SOURCE
65
53
66
54
#else
67
55
68
- #error SEEE! WE ARE ON ...else...
69
-
70
56
/* enable strdup() declaration in string.h: */
71
57
#define __MISC_VISIBLE 1
72
58
You can’t perform that action at this time.
0 commit comments