Add support files to build, test and install Block.h and libBlocksRuntime.a
[blocksruntime.git] / config.h
blobf7c049fe7b9d891bdd2389b759a939d14a6cf3f5
1 #ifndef _CONFIG_H_
2 #define _CONFIG_H_
4 #ifdef __APPLE__
6 #define HAVE_AVAILABILITY_MACROS_H 1
7 #define HAVE_TARGET_CONDITIONALS_H 1
8 #define HAVE_OSATOMIC_COMPARE_AND_SWAP_INT 1
9 #define HAVE_OSATOMIC_COMPARE_AND_SWAP_LONG 1
10 #define HAVE_LIBKERN_OSATOMIC_H
12 #else /* !__APPLE__ */
14 #ifdef __GNUC__
16 #define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_INT 1
17 #define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_LONG 1
19 #endif /* __GNUC__ */
21 #endif /* !__APPLE__ */
23 #endif /* _CONFIG_H_ */