diff --git a/headers/posix/stdc-predef.h b/headers/posix/stdc-predef.h new file mode 100644 index 0000000000..fc51da35d7 --- /dev/null +++ b/headers/posix/stdc-predef.h @@ -0,0 +1,14 @@ +/* + * Copyright 2021 Haiku, Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + */ +#ifndef _STDC_PREDEF_H +#define _STDC_PREDEF_H + + +#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L +# define __STDC_NO_THREADS__ 1 +#endif + + +#endif /* _STDC_PREDEF_H */