Use C11 threads only if available

This commit is contained in:
Ivan Lezhankin 2019-01-11 16:36:30 +03:00
parent 77daa519ff
commit 07f8ef4f4c

View File

@ -72,5 +72,7 @@
// python
//#define HAVE_PYTHON 1
// C11 threads
#define WITH_C11THREADS 1
#if (__STDC_VERSION__ >= 201112L) && !defined(__STDC_NO_THREADS__)
# define WITH_C11THREADS 1
#endif
#endif /* _CONFIG_H_ */