summaryrefslogtreecommitdiff
path: root/src/Fl_lock.cxx
diff options
context:
space:
mode:
authormaxim nikonov <maxim.nikonov@hqo.co>2026-02-05 16:24:45 +0500
committermaxim nikonov <maxim.nikonov@hqo.co>2026-02-05 16:24:45 +0500
commitcdf2832347b8fdf0389cd373c2ead0ac5d071037 (patch)
tree96f9771aed0710899aa6cbba2a84dadfe76e996e /src/Fl_lock.cxx
parentdb214d1145e46d527a46d1fc2519548d2c4d23f1 (diff)
wip
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);
}
/**