summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-10 20:48:48 +0000
committerManolo Gouy <Manolo>2016-04-10 20:48:48 +0000
commit84122ac25acc8bbfbdc54c0384a859d6ad43a475 (patch)
treef56c8c6544e4f0130652ef4dc09cc3aab2a5f689
parent6879d54fc494dd07c214c8582806304e6b09e80f (diff)
Remove compilation warnings about functions defined but not used (WIN32 platform).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11579 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-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