OSDN Git Service

android/client: Define Android version for host
authorJerzy Kasenberg <jerzy.kasenberg@tieto.com>
Wed, 30 Oct 2013 14:47:22 +0000 (15:47 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 30 Oct 2013 15:04:33 +0000 (17:04 +0200)
This patch defines PLATFORM_SDK_VERSION like it is handled in
Android.mk. This value corresponds to current copy of headers
from Android committed to bluez.

android/Makefile.am

index 5690e93..05a124e 100644 (file)
@@ -61,7 +61,8 @@ android_haltest_SOURCES = android/client/haltest.c \
 
 android_haltest_LDADD = android/libhal-internal.la
 
-android_haltest_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/android
+android_haltest_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/android \
+                               -DPLATFORM_SDK_VERSION=18
 
 android_haltest_LDFLAGS = -pthread