diff options
author | Marco Peereboom <marco@conformal.com> | 2012-05-16 16:27:53 -0500 |
---|---|---|
committer | Marco Peereboom <marco@conformal.com> | 2012-05-16 16:27:57 -0500 |
commit | 9eb0f48bccb10b795dfacf5961563fc689e83045 (patch) | |
tree | acc9df87d92a54ada5e26dd6750d1a909dcbda7b | |
parent | 51753c8943a749dd89b1edd1419c31343ae32ec8 (diff) | |
download | xombrero-9eb0f48bccb10b795dfacf5961563fc689e83045.tar.gz |
make gdk_flush compile time conditional
-rw-r--r-- | xxxterm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xxxterm.h b/xxxterm.h index f52553c..9ad85c1 100644 --- a/xxxterm.h +++ b/xxxterm.h @@ -80,6 +80,14 @@ uint32_t arc4random_uniform(uint32_t); #ifdef USE_THREADS #include <gcrypt.h> #include <pthread.h> + +/* #define USE_FLUSH */ +#ifdef USE_FLUSH +#define GDK_FLUSH() do { gdk_flush(); } while (0) +#else +#define GDK_FLUSH() +#endif /* USE_FLUSH */ + #endif /* set if you don't want to use signals */ |