Skip to content
Snippets Groups Projects
Commit 261d8014 authored by deuce's avatar deuce
Browse files

If !x11 and !SDL, don't build and include static fonts.

parent 74f8c2ad
No related branches found
No related tags found
No related merge requests found
......@@ -3,4 +3,7 @@ CIOLIB-MT_CFLAGS = $(CIOLIB-MT_CFLAGS) -DWITH_SDL -DWIN32 -I../../include/sdl
!ifdef STATIC_SDL
CIOLIB-MT_CFLAGS = $(CIOLIB-MT_CFLAGS) -DSTATIC_SDL
!endif
!else
CIOLIB-MT_CFLAGS = $(CIOLIB-MT_CFLAGS) -DNO_FONTS
CIOLIB-CFLAGS = $(CIOLIB-MT_CFLAGS) -DNO_FONTS
!endif
......@@ -87,3 +87,10 @@ else
CIOLIB-MT_CFLAGS += -DDISABLE_X11=1
endif
endif
ifdef NO_X
ifndef WITH_SDL
CIOLIB-MT_CFLAGS += -DNO_FONTS
CIOLIB-CFLAGS += -DNO_FONTS
endif
endif
......@@ -2,6 +2,9 @@
 
#include "allfonts.h"
 
#ifdef NO_FONTS
struct conio_font_data_struct conio_fontdata[257];
#else
struct conio_font_data_struct conio_fontdata[257] = {
{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
"\x00\x00\x7e\x81\xa5\x81\x81\xbd\x99\x81\x81\x7e\x00\x00\x00\x00"
......@@ -18437,3 +18440,4 @@ struct conio_font_data_struct conio_fontdata[257] = {
,{NULL, NULL, NULL, NULL}
,{NULL, NULL, NULL, NULL}
};
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment