]> O.S.I.I.S - jp/vkhelpers.git/commitdiff
Switched to STDC_NO_THREADS
authorLinuxLegend <Tyler@linuxdev.app>
Mon, 28 Mar 2022 10:56:55 +0000 (04:56 -0600)
committerLinuxLegend <Tyler@linuxdev.app>
Mon, 28 Mar 2022 10:56:55 +0000 (04:56 -0600)
include/vkh.h

index 78c0657dd219b60d20f959e099ad35a1913bdcd0..5436943a8985dba4804239b05357879aba91abf4 100644 (file)
@@ -30,7 +30,7 @@ extern "C" {
 
 #include <vulkan/vulkan.h>
 
-#if defined(_WIN32) || defined(WIN32) || defined(__WIN32__) || defined(_WIN64) || defined(WIN64) || defined(__WIN64__)
+#if defined(STDC_NO_THREADS)
 #include "deps/tinycthread.h"
 #else
 // For platforms outside of Windows, Threads.h is provided for by compiler that supports C11 standard.