diff options
author | Cody Northrop <cnorthrop@google.com> | 2016-08-05 12:30:44 -0600 |
---|---|---|
committer | Tony Barbour <tony@LunarG.com> | 2016-08-05 14:34:08 -0600 |
commit | 326df0dc0c4361377b90e4240693b736e7bde0f0 (patch) | |
tree | 67e5912c3a4a78ab03a245a21095b96e80d6b1f8 /demos | |
parent | 8a6cb3069e18d5d874e797c258c44c21c933124f (diff) |
demos: Fix Android build on OSX and Windows
Diffstat (limited to 'demos')
-rw-r--r-- | demos/cube.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/cube.c b/demos/cube.c index 8f555e68..98adcb82 100644 --- a/demos/cube.c +++ b/demos/cube.c @@ -29,7 +29,7 @@ #include <stdbool.h> #include <assert.h> #include <signal.h> -#ifdef __linux__ +#if defined(__linux__) && !defined(ANDROID) #include <X11/Xutil.h> #endif |