Fix building on Linux; fix WITHOUT_GTK=0 build.

git-svn-id: https://svn.eduke32.com/eduke32@3279 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2012-12-13 12:41:23 +00:00
parent dac94ce284
commit d429aad9f2
2 changed files with 5 additions and 4 deletions

View file

@ -68,6 +68,7 @@ ifeq ($(SUBPLATFORM),LINUX)
RENDERTYPE=SDL
BUILDCOMMONFLAGS+= -DHAVE_INTTYPES
GTKCOMPAT32=0
SDL_FRAMEWORK=0
ifeq ($(findstring x86_64,$(SYSARCH)),x86_64)
ifeq (1,$(BUILD32_ON_64))

View file

@ -39,11 +39,11 @@
# include "gtkbits.h"
#endif
#if (!defined __APPLE__ && !defined HAVE_GTK2) || (defined __APPLE__) // && defined __BIG_ENDIAN__)
#if defined __APPLE__ || !defined HAVE_GTK2
# undef UNREFERENCED_PARAMETER
# define UNREFERENCED_PARAMETER(x) x=x
# if !defined _WIN32 && !defined OSX_STARTUPWINDOW
# if !defined _WIN32 && (!defined __APPLE__ || !defined OSX_STARTUPWINDOW)
int32_t startwin_open(void) { return 0; }
int32_t startwin_close(void) { return 0; }
int32_t startwin_puts(const char *s) { UNREFERENCED_PARAMETER(s); return 0; }