From 84122ac25acc8bbfbdc54c0384a859d6ad43a475 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 10 Apr 2016 20:48:48 +0000 Subject: 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 --- src/Fl_lock.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 -- cgit v1.2.3