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.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.in')
| -rw-r--r-- | configh.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configh.in b/configh.in index 54ddf96ac..49ba71e00 100644 --- a/configh.in +++ b/configh.in @@ -248,6 +248,14 @@ #define HAVE_SETENV 0 /* + * HAVE_TRUNC: + * + * Whether or not POSIX trunc() is available from math.h. + */ + +#define HAVE_TRUNC 0 + +/* * Do we have various image libraries? */ |
