diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2021-12-01 13:38:55 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2021-12-01 13:38:55 +0100 |
| commit | 2db94dcb4c5bf2ef3fa92f1cd6a41f3f90105361 (patch) | |
| tree | 30b7aede0ccd5b42e0d6b179b6ea399704fe9458 /src/drivers/PostScript | |
| parent | 36af6a57295a5f3c674134cab60dc644c96e97fa (diff) | |
Hack to restore "configure --enable-x11" on macOS ≥ 11
Since macOS 11, configure --enable-x11 (and the equivalent with CMake)
fails when compiling fl_write_png.cxx in parsing of time.h.
The error happens only if png.h is included without time.h having
been included before.
The fix is to #include time.h before png.h
A better fix than his hack is desirable.
Diffstat (limited to 'src/drivers/PostScript')
0 files changed, 0 insertions, 0 deletions
