diff options
| author | Adriaan de Groot <adridg@FreeBSD.org> | 2020-05-31 12:42:19 +0000 |
|---|---|---|
| committer | Adriaan de Groot <adridg@FreeBSD.org> | 2020-05-31 12:42:19 +0000 |
| commit | b01da5e68f95f5133fcdc04abb0b62432acc69f2 (patch) | |
| tree | fb0a0729ecf1149877f3ba3f2f26f5ae9b2ef1f3 /math/scilab/files | |
| parent | Take maintainership. (diff) | |
emulators/qmc2: Prep-work for Qt 5.15; compatible with Qt 5.14
In Qt 5.15 an enumeration is introduced which has enumerators
True and False, used like QCborSimpleType::False. In C++ that's
3 tokens, one name. The C Preprocessor deals with tokens, though,
and since some headers #define False 0, we end up with tokens
QCborSimpleType::0 instead, which is nonsense.
The actual defines are only relevant in C code internals, not the
API for lzma that is used from C++. So somewhat-hackishly just switch
off the #defines when in C++ mode.
The change is complicated by this *particular* source file being
in DOS CRLF mode.
Reported by: tcberner
Diffstat (limited to 'math/scilab/files')
0 files changed, 0 insertions, 0 deletions
