diff options
| author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2025-01-17 16:48:55 +0100 |
|---|---|---|
| committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2025-01-20 17:51:56 +0100 |
| commit | 34f60877bdb54786c62fd1bf5b44a81430aa411f (patch) | |
| tree | b48f0fdbe69687473f8a112617978af568ec664a /src/opengl/qopenglshaderprogram.cpp | |
| parent | 453b20ea947f8cd6d42f3a0ccef38de1593bbb2f (diff) | |
TinyCBOR: prevent a -Wundef warning
Follow the same "pattern" as for the rest of the #if directive: first
test if a macro is defined, then test the value. Otherwise the code
triggers a -Wundef when building in C++.
Task-number: QTBUG-132900
Change-Id: Icc838bf8dfafed1ab317ff70cb19559b72b22dc9
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/opengl/qopenglshaderprogram.cpp')
0 files changed, 0 insertions, 0 deletions
