summaryrefslogtreecommitdiff
path: root/va/va.c
diff options
context:
space:
mode:
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2010-10-29 10:47:23 +0200
committerAustin Yuan <shengquan.yuan@gmail.com>2010-12-21 11:30:49 +0800
commit8170d0bf15e6552cfff524759fc254c6534610cf (patch)
tree548a99cf1479010234cbb4d61357986448740f3d /va/va.c
parent68c5f603d868707488184146801b0d87782f0161 (diff)
Add sysdeps.h for system-dependent definitions. e.g. Android.
Diffstat (limited to 'va/va.c')
-rw-r--r--va/va.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/va/va.c b/va/va.c
index 0320ed3..268ba36 100644
--- a/va/va.c
+++ b/va/va.c
@@ -23,11 +23,11 @@
*/
#define _GNU_SOURCE 1
+#include "sysdeps.h"
#include "va.h"
#include "va_backend.h"
#include "va_trace.h"
#include "va_fool.h"
-#include "config.h"
#include <assert.h>
#include <stdarg.h>
@@ -37,12 +37,6 @@
#include <dlfcn.h>
#include <unistd.h>
-#ifdef ANDROID
-#define Bool int
-#define True 1
-#define False 0
-#endif
-
#define DRIVER_INIT_FUNC "__vaDriverInit_0_31"
#define DRIVER_EXTENSION "_drv_video.so"