diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2011-11-08 19:23:58 +0000 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2011-11-08 19:23:58 +0000 |
commit | 23f7c03ac8e67b72f6bf9111fcfe4ed959a99c0a (patch) | |
tree | 75f163d84191553b427da9727805f6e0fc1adfc8 /clutter-gst/clutter-gst-util.c | |
parent | d424509377fe60d7b58b45fa812e3bc55f4da928 (diff) | |
download | clutter-gst-23f7c03ac8e67b72f6bf9111fcfe4ed959a99c0a.tar.gz |
build: Fix the usage of the CLUTTER_WINDOWING_X11 macro
We used #if with a defined that changed from beging a integer to a
string. Using #ifdefs should work fine.
Diffstat (limited to 'clutter-gst/clutter-gst-util.c')
-rw-r--r-- | clutter-gst/clutter-gst-util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clutter-gst/clutter-gst-util.c b/clutter-gst/clutter-gst-util.c index a57b9e2..9c858ec 100644 --- a/clutter-gst/clutter-gst-util.c +++ b/clutter-gst/clutter-gst-util.c @@ -99,7 +99,7 @@ #include <gst/gst.h> #include <clutter/clutter.h> -#if CLUTTER_WINDOWING_X11 +#if defined (CLUTTER_WINDOWING_X11) #include <X11/Xlib.h> #endif @@ -131,7 +131,7 @@ clutter_gst_init (int *argc, if (clutter_gst_is_initialized) return CLUTTER_INIT_SUCCESS; -#if CLUTTER_WINDOWING_X11 +#if defined (CLUTTER_WINDOWING_X11) /* Required by some GStreamer element like VA */ XInitThreads (); #endif @@ -190,7 +190,7 @@ clutter_gst_init_with_args (int *argc, if (clutter_gst_is_initialized) return CLUTTER_INIT_SUCCESS; -#if CLUTTER_WINDOWING_X11 +#if defined (CLUTTER_WINDOWING_X11) /* Required by some gstreamer element like VA */ XInitThreads (); #endif |