diff options
| author | Tim Blechmann <tim.blechmann@qt.io> | 2025-08-25 09:02:23 +0800 |
|---|---|---|
| committer | Tim Blechmann <tim.blechmann@qt.io> | 2025-11-20 17:32:45 +0000 |
| commit | f814bccf9577cb906947707a6fdce1a64192a61e (patch) | |
| tree | e9c8064b5163b0a549c283f1389abaedc4487c43 /src/opengl/doc/snippets/code | |
| parent | 04f13038f58382069d01864227cbec553ff47720 (diff) | |
zlib: don't re-define Byte
The preprocessor is evil: by re-defining Byte, we cause a clash with the
MacTypes.h typedef, causing build errors with unity builds. It may also
clash with other uses of using Byte as identifier such as in
qbytearrayview.h or qmimemagicrule_p.h.
We do not need to re-define any of the typedefs for vendoring zlib,
as they won't affect globally visible symbols
Pick-to: 6.5 6.8 6.9 6.10
Change-Id: I978d76659b09e54c2a1efdecbb9529560884824d
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Diffstat (limited to 'src/opengl/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
