Speex support in MorphOS

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3689 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Lance 2010-12-09 03:52:48 +00:00
parent 6a0549acc1
commit 28321ce9c9
4 changed files with 21 additions and 5 deletions

View file

@ -839,7 +839,7 @@ ifeq ($(FTE_TARGET),morphos)
GL_EXE_NAME=../morphos_fteqw.gl
GLCL_EXE_NAME=../morphos_fteqwcl.gl
GL_LDFLAGS=$(GLLDFLAGS) -ldl $(IMAGELDFLAGS) -lz
GL_CFLAGS=$(GLCFLAGS) -noixemul -I./libs/speex
GL_CFLAGS=$(GLCFLAGS) -noixemul -I./libs/speex -I./
GLB_DIR=gl_morphos
GLCL_DIR=glcl_morphos

View file

@ -40,8 +40,13 @@
* @{
*/
#include "speex/speex_bits.h"
#include "speex/speex_types.h"
#ifndef __MORPHOS__
#include "speex/speex_bits.h"
#include "speex/speex_types.h"
#else
#include <speex_bits.h>
#include <speex_types.h>
#endif
#ifdef __cplusplus
extern "C" {

View file

@ -43,7 +43,11 @@
* @{
*/
#include "speex/speex_types.h"
#ifndef __MORPHOS__
#include "speex/speex_types.h"
#else
#include <speex_types.h>
#endif
#ifdef __cplusplus
extern "C" {

View file

@ -65,7 +65,6 @@
typedef u_int32_t spx_uint32_t;
#elif defined(__BEOS__)
/* Be */
# include <inttypes.h>
typedef int16_t spx_int16_t;
@ -88,6 +87,14 @@
typedef int spx_int32_t;
typedef unsigned int spx_uint32_t;
#elif defined(__MORPHOS__)
# include <sys/types.h>
typedef int16_t spx_int16_t;
typedef u_int16_t spx_uint16_t;
typedef int32_t spx_int32_t;
typedef u_int32_t spx_uint32_t;
#elif defined(R5900)
/* PS2 EE */