mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 01:31:08 +00:00
Define clang's feature-test macros if they are not defined, so we can use them
without copying the fall-back version into every file where it might be needed. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31568 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b7f4faa90b
commit
b7ad06e540
1 changed files with 7 additions and 0 deletions
|
@ -43,6 +43,13 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef __has_include
|
||||
# define __has_include(x) 0
|
||||
#endif
|
||||
#ifndef __has_feature
|
||||
# define __has_feature(x) 0
|
||||
#endif
|
||||
|
||||
#if defined(__WIN32__)
|
||||
#include <w32api.h>
|
||||
#ifndef _WIN32_WINNT
|
||||
|
|
Loading…
Reference in a new issue