Rationalise definition of NO_IPV6 for atari frontend

svn path=/trunk/netsurf/; revision=11623
This commit is contained in:
John Mark Bell 2011-02-06 15:40:36 +00:00
parent 98ff1b85ef
commit a128b7acec
3 changed files with 4 additions and 3 deletions

View File

@ -336,7 +336,7 @@ ifeq ($(TARGET),atari)
NETSURF_ATARI_USE_FREETYPE := YES NETSURF_ATARI_USE_FREETYPE := YES
# Optimisation levels # Optimisation levels
CFLAGS += -m68000 -O2 -Wuninitialized -DNO_IPV6 CFLAGS += -m68000 -O2 -Wuninitialized
WARNFLAGS = -W -Wundef -Wpointer-arith \ WARNFLAGS = -W -Wundef -Wpointer-arith \
-Wcast-align -Wwrite-strings -Wstrict-prototypes \ -Wcast-align -Wwrite-strings -Wstrict-prototypes \

View File

@ -5,7 +5,7 @@
$(eval $(call feature_enabled,MNG,-DWITH_MNG,-lmng,PNG/MNG/JNG (libmng))) $(eval $(call feature_enabled,MNG,-DWITH_MNG,-lmng,PNG/MNG/JNG (libmng)))
$(eval $(call feature_enabled,PNG,-DWITH_PNG,-lpng,PNG (libpng) )) $(eval $(call feature_enabled,PNG,-DWITH_PNG,-lpng,PNG (libpng) ))
CFLAGS += -I/usr/GEM/include -DNO_IPV6 CFLAGS += -I/usr/GEM/include
LDFLAGS += -L/usr/GEM/lib -lcflib LDFLAGS += -L/usr/GEM/lib -lcflib
CFLAGS += -DATARI_USE_FREETYPE $(shell freetype-config --cflags) CFLAGS += -DATARI_USE_FREETYPE $(shell freetype-config --cflags)

View File

@ -104,7 +104,8 @@ char *realpath(const char *path, char *resolved_path);
#define WITH_THEME_INSTALL #define WITH_THEME_INSTALL
#endif #endif
#if defined(__amigaos4__) || defined(__AMIGA__) #if defined(__amigaos4__) || defined(__AMIGA__) || \
defined(nsatari)
#define NO_IPV6 #define NO_IPV6
#endif #endif