summaryrefslogtreecommitdiff
path: root/src/Fl_lock.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_lock.cxx')
-rw-r--r--src/Fl_lock.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_lock.cxx b/src/Fl_lock.cxx
index 8f2b2d4da..57d67766e 100644
--- a/src/Fl_lock.cxx
+++ b/src/Fl_lock.cxx
@@ -66,9 +66,9 @@
#ifndef FL_DOXYGEN
-static constexpr int AWAKE_RING_SIZE = 1024;
-Fl_Awake_Handler *Fl_System_Driver::awake_ring_ = nullptr;
-void **Fl_System_Driver::awake_data_ = nullptr;
+static const int AWAKE_RING_SIZE = 1024;
+Fl_Awake_Handler *Fl_System_Driver::awake_ring_ = 0;
+void **Fl_System_Driver::awake_data_ = 0;
int Fl_System_Driver::awake_ring_size_ = 0;
int Fl_System_Driver::awake_ring_head_ = 0;
int Fl_System_Driver::awake_ring_tail_ = 0;
@@ -202,7 +202,7 @@ bool Fl_System_Driver::awake_ring_empty() {
\see Fl::awake_once(Fl_Awake_Handler, void*)
*/
void Fl::awake() {
- Fl::system_driver()->awake(nullptr);
+ Fl::system_driver()->awake(0);
}
/**