summaryrefslogtreecommitdiff
path: root/src/drivers/Posix/Fl_Posix_System_Driver.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-02-16 16:28:44 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-02-16 16:28:57 +0100
commit9fdd675eab7cae04dc176ea2aba2d53c59101beb (patch)
treecb291e89411d0b73a74a3259fd651caccd0c405f /src/drivers/Posix/Fl_Posix_System_Driver.H
parentb709b2a2d3451ec48d454a895a459dadf7c184e5 (diff)
Remove FL_CFG_SYS_POSIX and FL_CFG_SYS_WIN32 preprocessor vars from Fl_lock.cxx
Diffstat (limited to 'src/drivers/Posix/Fl_Posix_System_Driver.H')
-rw-r--r--src/drivers/Posix/Fl_Posix_System_Driver.H6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/drivers/Posix/Fl_Posix_System_Driver.H b/src/drivers/Posix/Fl_Posix_System_Driver.H
index e077e490f..52c138260 100644
--- a/src/drivers/Posix/Fl_Posix_System_Driver.H
+++ b/src/drivers/Posix/Fl_Posix_System_Driver.H
@@ -2,7 +2,7 @@
// Definition of POSIX system driver
// for the Fast Light Tool Kit (FLTK).
//
-// Copyright 2010-2020 by Bill Spitzak and others.
+// Copyright 2010-2021 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -79,6 +79,10 @@ public:
virtual int dot_file_hidden() {return 1;}
virtual void gettime(time_t *sec, int *usec);
virtual char* strdup(const char *s) {return ::strdup(s);}
+#if defined(HAVE_PTHREAD)
+ virtual void lock_ring();
+ virtual void unlock_ring();
+#endif
};
#endif // FL_POSIX_SYSTEM_DRIVER_H