mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
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:
parent
dac94ce284
commit
d429aad9f2
2 changed files with 5 additions and 4 deletions
|
@ -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))
|
||||
|
|
|
@ -39,11 +39,11 @@
|
|||
# include "gtkbits.h"
|
||||
#endif
|
||||
|
||||
#if (!defined __APPLE__ && !defined HAVE_GTK2) || (defined __APPLE__) // && defined __BIG_ENDIAN__)
|
||||
#undef UNREFERENCED_PARAMETER
|
||||
#define UNREFERENCED_PARAMETER(x) x=x
|
||||
#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; }
|
||||
|
|
Loading…
Reference in a new issue