qcompilerdetection.h: check __cplusplus is defined before using it
Change-Id: I6f6daabcaf393ffa855461b4cd93863723751343 Pick-to: 6.6 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>bb10
parent
22c540a66d
commit
644bd3367c
|
|
@ -1389,7 +1389,7 @@ QT_WARNING_DISABLE_MSVC(4530) /* C++ exception handler used, but unwind semantic
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#if __cplusplus >= 202002L // P0846 doesn't have a feature macro :/
|
||||
#if defined(__cplusplus) && __cplusplus >= 202002L // P0846 doesn't have a feature macro :/
|
||||
# define QT_COMPILER_HAS_P0846
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue