diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-04-02 15:58:55 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-04-02 16:03:29 +0200 |
| commit | e5c4c1415bff4ae5e08a7d1ec7cdcce3ba589eb2 (patch) | |
| tree | 302a1a71e7ab6bb99c6b003e05faa01e16374754 /configh.cmake.in | |
| parent | 7a879568b3fd16ce84ee4fa3e268272eb53fc590 (diff) | |
Add replacement for potentially missing trunc() (#944)
- add configure + CMake checks to define HAVE_TRUNC in config.h
- src/Fl_Timeout.cxx: add local replacement function
Diffstat (limited to 'configh.cmake.in')
| -rw-r--r-- | configh.cmake.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configh.cmake.in b/configh.cmake.in index 982e9f868..1bd719bbc 100644 --- a/configh.cmake.in +++ b/configh.cmake.in @@ -249,6 +249,14 @@ #cmakedefine01 HAVE_SETENV /* + * HAVE_TRUNC: + * + * Whether or not POSIX trunc() is available from math.h. + */ + +#cmakedefine01 HAVE_TRUNC + +/* * Do we have various image libraries? */ |
