summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_lock.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Fl_lock.cxx b/src/Fl_lock.cxx
index 5cf7a6ff1..c80846d0c 100644
--- a/src/Fl_lock.cxx
+++ b/src/Fl_lock.cxx
@@ -399,10 +399,12 @@ void lock_ring() {
#else
+#if defined(FL_CFG_GFX_QUARTZ) || defined(FL_CFG_GFX_XLIB)
static void posix_awake(void*) {}
static int posix_lock() { return 1; }
static void posix_unlock() {}
static void* posix_thread_message() { return NULL; }
+#endif
#endif // HAVE_PTHREAD