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:
David Chisnall 2010-10-27 14:50:21 +00:00
parent b7f4faa90b
commit b7ad06e540

View file

@ -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