diff options
Diffstat (limited to 'src/include/open-axiom.h')
-rw-r--r-- | src/include/open-axiom.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/open-axiom.h b/src/include/open-axiom.h index b34733bd..378e1802 100644 --- a/src/include/open-axiom.h +++ b/src/include/open-axiom.h @@ -63,4 +63,11 @@ typedef HANDLE openaxiom_handle; typedef void* openaxiom_handle; #endif +/* Do we have graphics support? */ +#ifdef X_DISPLAY_MISSING +# define OPENAXIOM_HAVE_GRAPHICS 0 +#else +# define OPENAXIOM_HAVE_GRAPHICS 1 +#endif + #endif /* OPENAXIOM_included */ |