Skip to content

Commit

Permalink
Updated smpeg with the removal of SDL_types.h
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jul 9, 2013
1 parent 19d8538 commit e6c5070
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion external/smpeg2-2.0.0/Android.mk
Expand Up @@ -4,7 +4,7 @@ include $(CLEAR_VARS)

LOCAL_MODULE := smpeg2

LOCAL_C_INCLUDES := $(NDK_PROJECT_PATH)/jni/SDL/include
LOCAL_C_INCLUDES := $(LOCAL_PATH)
LOCAL_CFLAGS := -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -D_THREAD_SAFE -DTHREADED_AUDIO -DNOCONTROLS

LOCAL_SRC_FILES := \
Expand Down Expand Up @@ -39,4 +39,6 @@ LOCAL_LDLIBS :=
LOCAL_STATIC_LIBRARIES :=
LOCAL_SHARED_LIBRARIES := SDL2

LOCAL_EXPORT_C_INCLUDES += $(LOCAL_C_INCLUDES)

include $(BUILD_SHARED_LIBRARY)
2 changes: 1 addition & 1 deletion external/smpeg2-2.0.0/MPEGring.h
Expand Up @@ -24,7 +24,7 @@
#ifndef _MPEGRING_H
#define _MPEGRING_H

#include "SDL_types.h"
#include "SDL_stdinc.h"
#include "SDL_thread.h"

class MPEG_ring {
Expand Down
2 changes: 1 addition & 1 deletion external/smpeg2-2.0.0/MPEGstream.h
Expand Up @@ -22,7 +22,7 @@
#ifndef _MPEGSTREAM_H_
#define _MPEGSTREAM_H_

#include "SDL_types.h"
#include "SDL_stdinc.h"
#include "MPEGerror.h"
#include "MPEGvideo.h"
#include "MPEGaudio.h"
Expand Down
1 change: 1 addition & 0 deletions external/smpeg2-2.0.0/Makefile.am
Expand Up @@ -68,6 +68,7 @@ EXTRA_DIST = \
README \
README.SDL_mixer \
plaympeg.1 \
Android.mk \
VisualC.zip \
smpeg2.m4 \
smpeg2.spec \
Expand Down
1 change: 1 addition & 0 deletions external/smpeg2-2.0.0/Makefile.in
Expand Up @@ -442,6 +442,7 @@ EXTRA_DIST = \
README \
README.SDL_mixer \
plaympeg.1 \
Android.mk \
VisualC.zip \
smpeg2.m4 \
smpeg2.spec \
Expand Down

0 comments on commit e6c5070

Please sign in to comment.