pike.git/
src/
global.h
Branch:
Tag:
Non-build tags
All tags
No tags
2017-04-18
2017-04-18 12:59:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>
b22fe2cd0ed31ac96b12ad3da5839e0d60515525 (
7
lines) (+
7
/-
0
)
[
Show
|
Annotate
]
Branch:
8.1
Build: Support compilers without __builtin_constant_p().
248:
# define STATIC_ASSUME(X) do { if (!(X)) UNREACHABLE(0); } while(0) #endif
+
#ifdef HAS___BUILTIN_CONSTANT_P
+
# define STATIC_IS_CONSTANT(X) __builtin_constant_p(X)
+
#else
+
# define STATIC_IS_CONSTANT(X) 0
+
#endif
+
#ifndef HAVE_WORKING_REALLOC_NULL #define realloc(PTR, SZ) pike_realloc(PTR,SZ) #endif