summaryrefslogtreecommitdiff
path: root/FL/mac.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-03-07 10:12:50 +0000
committerManolo Gouy <Manolo>2018-03-07 10:12:50 +0000
commit358bdf577e29a94a0a987ff120b62c02573dcaab (patch)
tree067dac924f1979b5353623ceb7ab84d3cc6eedc9 /FL/mac.H
parent93c59c914e73ea6e336869be92ca913edf00e2bc (diff)
MacOS: add more detail to the doc of global variable fl_mac_os_version
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12715 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/mac.H')
-rw-r--r--FL/mac.H5
1 files changed, 4 insertions, 1 deletions
diff --git a/FL/mac.H b/FL/mac.H
index ffb28f190..888ab633b 100644
--- a/FL/mac.H
+++ b/FL/mac.H
@@ -121,7 +121,10 @@ extern CGContextRef fl_gc;
void fl_mac_set_about(Fl_Callback *cb, void *user_data, int shortcut = 0);
-/** \brief The version number of the running Mac OS X (e.g., 100604 for 10.6.4)
+/** The version number of the running Mac OS X (e.g., 100604 for 10.6.4, 101300 for 10.13).
+ FLTK initializes this global variable before main() begins running. If
+ the value is needed in a static initializer, a previous call to Fl::system_driver()
+ makes sure \ref fl_mac_os_version has been initialized.
*/
extern int fl_mac_os_version;