Fix simulator build

- missing header file <string.h>
- need to define -D__arm__

Change-Id: I18d2f1908684150784cf728234b5aedbc02447d1
This commit is contained in:
James Dong
2010-07-13 13:28:08 -07:00
parent c1ca7f8c53
commit 70c6c9a1e2
2 changed files with 4 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ LOCAL_C_INCLUDES := \
$(TOP)/frameworks/base/media/libstagefright/include
LOCAL_CFLAGS := \
-D__arm__ \
-DOSCL_IMPORT_REF= -DOSCL_UNUSED_ARG= -DOSCL_EXPORT_REF=
include $(BUILD_STATIC_LIBRARY)

View File

@@ -28,6 +28,9 @@ and necessary type defitionitions and enumerations.
#include "avcapi_common.h"
#endif
// For memset, etc
#include <string.h>
/**
This enumeration is used for the status returned from the library interface.
*/