mirror of
https://github.com/autc04/Retro68.git
synced 2026-10-24 11:02:35 +00:00
fix include ordering in atomic.c on macOS (case-insensitive filesystem)
This commit is contained in:
1 parent
91b5d69b5d
commit
bb3e2ef709
1 file changed
+3
-1
+3
-1
@@ -39,10 +39,12 @@
|
||||
* symbols are attached with asm labels.
|
||||
*/
|
||||
|
||||
/* string.h first: on case-insensitive file systems it can pull in Apple's
|
||||
Strings.h -> MacTypes.h, whose true/false enum clashes with stdbool.h. */
|
||||
#include <string.h>
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifndef __GCC_ATOMIC_TEST_AND_SET_TRUEVAL
|
||||
#define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
|
||||
|
||||
Reference in new issue
Block a user