Skip to content

Commit 229093a

Browse files
committed
asd
1 parent 913379b commit 229093a

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ flags_static:
9191
echo $(filter-out boxes.o,$(ALL_OBJ)) > $(OUT_DIR)/modules.txt
9292

9393
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))
9595
$(eval LDFLAGS := $(LDFLAGS) -s -m32 $(LDFLAGS_ADDTL))
9696
$(eval BOXES_EXECUTABLE_NAME := boxes.exe)
9797
# $(eval ALL_OBJ := $(GEN_SRC:.c=.o) $(ORIG_NORM:.c=.o))

src/config.h

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,6 @@
2020
#ifndef CONFIG_H
2121
#define CONFIG_H
2222

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-
3523
#if defined(__linux__) || defined(__GLIBC__) || defined(__GNU__)
3624

3725
#define _GNU_SOURCE
@@ -65,8 +53,6 @@
6553

6654
#else
6755

68-
#error SEEE! WE ARE ON ...else...
69-
7056
/* enable strdup() declaration in string.h: */
7157
#define __MISC_VISIBLE 1
7258

0 commit comments

Comments
 (0)