pike.git/
src/
acconfig.h
Branch:
Tag:
Non-build tags
All tags
No tags
1997-09-11
1997-09-11 22:50:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>
cf3ba070d479cd13a468b0031923276c7eb06128 (
21
lines) (+
21
/-
0
)
[
Show
|
Annotate
]
Branch:
7.9
Added PIKE_CONCAT.
Rev: src/acconfig.h:1.10
156:
/* Define if you have the pthread_yield function. */ #undef HAVE_PTHREAD_YIELD
+
/* Define if your cpp supports the ANSI concatenation operator ## */
+
#undef HAVE_ANSI_CONCAT
+
+
/* Define if your cpp supports K&R-style concatenation */
+
#undef HAVE_KR_CONCAT
+
@BOTTOM@ /* How to set a socket non-blocking */
179:
#define ATTRIBUTE(X) #endif
+
/* NOTE:
+
* PIKE_CONCAT doesn't get defined if there isn't any way to
+
* concatenate symbols
+
*/
+
#ifdef HAVE_ANSI_CONCAT
+
#define PIKE_CONCAT(X,Y) X##Y
+
#define PIKE_CONCAT3(X,Y,Z) X##Y##Z
+
#else
+
#ifdef HAVE_KR_CONCAT
+
#define PIKE_CONCAT(X,Y) X/**/Y
+
#define PIKE_CONCAT3(X,Y,Z) X/**/Y/**/Z
+
#endif /* HAVE_KR_CONCAT */
+
#endif /* HAVE_ANSI_CONCAT */
+
#endif /* MACHINE_H */