Only warn if __STDC_IEC_559__ isn't defined

This commit is contained in:
niansa 2023-07-05 14:34:18 +02:00
parent 77ebe46966
commit 44d214c040

View file

@ -16,7 +16,7 @@
#include <kompute/Kompute.hpp> #include <kompute/Kompute.hpp>
#ifndef __STDC_IEC_559__ #ifndef __STDC_IEC_559__
#error Your C implementation is not IEC 559 compliant, which is required for proper Vulkan interop. #warning Your C implementation is not IEC 559 compliant, which is required for proper Vulkan interop.
#endif #endif
#define MULTILINE_QUOTE(...) #__VA_ARGS__ #define MULTILINE_QUOTE(...) #__VA_ARGS__