]> O.S.I.I.S - jp/vkhelpers.git/commitdiff
Removing Define checks for Tinycthreads LinuxLegend/ThreadsC11Switch 9/head LinuxLegend/ThreadsC11Switch
authorLinuxLegend <Tyler@linuxdev.app>
Wed, 30 Mar 2022 17:31:00 +0000 (11:31 -0600)
committerLinuxLegend <Tyler@linuxdev.app>
Wed, 30 Mar 2022 17:31:00 +0000 (11:31 -0600)
src/deps/tinycthread.c
src/deps/tinycthread.h

index 124579a6496369d51063ae0781bba9ac8a712952..042115a67314bd0cd8a697b2a23567bea248a6dc 100644 (file)
@@ -20,8 +20,6 @@ freely, subject to the following restrictions:
     3. This notice may not be removed or altered from any source
     distribution.
 */
-
-#if defined(STDC_NO_THREADS)
 /* 2013-01-06 Camilla Löwy <elmindreda@glfw.org>
  *
  * Added casts from time_t to DWORD to avoid warnings on VC++.
@@ -591,5 +589,4 @@ int _tthread_clock_gettime(clockid_t clk_id, struct timespec *ts)
 #endif
   return 0;
 }
-#endif // _TTHREAD_EMULATE_CLOCK_GETTIME_
-#endif // END OF STDC_NO_THREADS
\ No newline at end of file
+#endif // _TTHREAD_EMULATE_CLOCK_GETTIME_
\ No newline at end of file
index 4c8112183c0093cc5896d1f58a3b480e800e2d2a..64af21ad0a63aeef4b371647205c4616c66b84e3 100644 (file)
@@ -23,7 +23,6 @@ freely, subject to the following restrictions:
 
 #ifndef _TINYCTHREAD_H_
 #define _TINYCTHREAD_H_
-#if defined(STDC_NO_THREADS)
 /**
 * @file
 * @mainpage TinyCThread API Reference
@@ -437,8 +436,4 @@ void *tss_get(tss_t key);
 * not be honored.
 */
 int tss_set(tss_t key, void *val);
-
-#else
-#include <threads.h>
-#endif
 #endif /* _TINYTHREAD_H_ */
\ No newline at end of file