summaryrefslogtreecommitdiffstats
path: root/Tests/Module/WriteCompilerDetectionHeader/main_multi.c
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-11-19 16:56:19 (GMT)
committerJoerg Bornemann <joerg.bornemann@qt.io>2021-11-19 16:56:19 (GMT)
commit1e550ad02d7aaf3a0c89998cc6b67a271d505448 (patch)
treedf70f6c956f0eb0c89d5c1daca0646aa575a02d0 /Tests/Module/WriteCompilerDetectionHeader/main_multi.c
parenteb9991ad62666649b0349b8c1e88255330c1c05c (diff)
downloadCMake-1e550ad02d7aaf3a0c89998cc6b67a271d505448.zip
CMake-1e550ad02d7aaf3a0c89998cc6b67a271d505448.tar.gz
CMake-1e550ad02d7aaf3a0c89998cc6b67a271d505448.tar.bz2
AutoMoc: Only add the WIN32 define if the target system is Windows
When there's no moc_predefs.h generated, we add the WIN32 define as fallback. Before this change, we added the WIN32 define if the host system was Windows. That's wrong when cross-compiling. Now we're checking whether the target system is Windows. Fixes: #22933
Diffstat (limited to 'Tests/Module/WriteCompilerDetectionHeader/main_multi.c')
0 files changed, 0 insertions, 0 deletions