Wii: Fix build.

git-svn-id: https://svn.eduke32.com/eduke32@3494 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2013-02-18 08:48:18 +00:00
parent 3b2eb2a214
commit 75e5cebfff
5 changed files with 5 additions and 8 deletions

View file

@ -199,11 +199,6 @@ ifeq ($(SUBPLATFORM),LINUX)
LIBS += -lFLAC -lvorbisfile -lvorbis -logg
endif
ifeq ($(PLATFORM),WII)
LIBS += -lvorbisidec -lfreetype -lfat -lwiiuse -lbte -logc -lm -lwiikeyboard
LIBDIRS += -L$(LIBOGC_LIB) -L$(PORTLIBS)/lib
endif
ifeq ($(PLATFORM),DARWIN)
OURCOMMONFLAGS += -fno-pic
LIBDIRS += -L$(abspath $(JAUDIOLIBDIR)/third-party/Apple/lib)

View file

@ -147,7 +147,8 @@ ifeq ($(PLATFORM),WII)
-DGEKKO -DHAVE_INTTYPES -D__POWERPC__ \
-I$(LIBOGC_INC) -I$(LIBOGC_INC)/SDL -I$(PORTLIBS)/include
SDLCONFIG=
BUILDLIBS+= -lSDL_mixer -lsmpeg -lSDL -laesnd
BUILDLIBS+= -lSDL_mixer -lsmpeg -lSDL -laesnd -lvorbisidec -lfreetype -lfat -lwiiuse -lbte -logc -lm -lwiikeyboard
BUILDLIBDIRS += -L$(LIBOGC_LIB) -L$(PORTLIBS)/lib
endif
ifeq ($(PLATFORM),QNX)
RENDERTYPE=SDL

View file

@ -28,7 +28,7 @@ Minimum required SDL versions:
#if defined(_NEED_SDLMIXER)
# if defined(SDL_FRAMEWORK)
# if defined(_WIN32)
# if defined(_WIN32) || defined(GEKKO)
# include <SDL/SDL_mixer.h>
# else
# include <SDL_mixer/SDL_mixer.h>

View file

@ -16,6 +16,7 @@
# define setsockopt net_setsockopt
# define accept net_accept
# define select net_select
# define shutdown net_shutdown
struct msghdr {
void *msg_name; /* optional address */
socklen_t msg_namelen; /* size of address */

View file

@ -25,7 +25,7 @@
#if defined(SDL_FRAMEWORK)
# include <SDL/SDL.h>
# if defined(_WIN32)
# if defined(_WIN32) || defined(GEKKO)
# include <SDL/SDL_mixer.h>
# else
# include <SDL_mixer/SDL_mixer.h>