isl_space_match: rename "dim" arguments to "space"
[isl.git] / isl_config_post.h
blob39373af3ae9383e2eec0f805f1a1710646b14007
1 #ifndef HAVE___ATTRIBUTE__
2 #define __attribute__(x)
3 #endif
5 #if HAVE_DECL_FFS
6 #include <strings.h>
7 #endif
9 #if (HAVE_DECL_FFS==0) && (HAVE_DECL___BUILTIN_FFS==1)
10 #define ffs __builtin_ffs
11 #endif
13 #if !HAVE_DECL_FFS && !HAVE_DECL___BUILTIN_FFS && HAVE_DECL__BITSCANFORWARD
14 int isl_ffs(int i);
15 #define ffs isl_ffs
16 #endif
18 #if HAVE_DECL_STRCASECMP || HAVE_DECL_STRNCASECMP
19 #include <strings.h>
20 #endif
22 #if !HAVE_DECL_STRCASECMP && HAVE_DECL__STRICMP
23 #define strcasecmp _stricmp
24 #endif
26 #if !HAVE_DECL_STRNCASECMP && HAVE_DECL__STRNICMP
27 #define strncasecmp _strnicmp
28 #endif
30 #if !HAVE_DECL_SNPRINTF && HAVE_DECL__SNPRINTF
31 #define snprintf _snprintf
32 #endif
34 #ifdef GCC_WARN_UNUSED_RESULT
35 #define WARN_UNUSED GCC_WARN_UNUSED_RESULT
36 #else
37 #define WARN_UNUSED
38 #endif