summaryrefslogtreecommitdiff
path: root/plan9/config.plan9
diff options
context:
space:
mode:
Diffstat (limited to 'plan9/config.plan9')
-rw-r--r--plan9/config.plan921
1 files changed, 21 insertions, 0 deletions
diff --git a/plan9/config.plan9 b/plan9/config.plan9
index d322ce5c47..bc25e1b5da 100644
--- a/plan9/config.plan9
+++ b/plan9/config.plan9
@@ -2367,6 +2367,27 @@
#define Siglongjmp(buf,retval) longjmp((buf),(retval))
#endif
+/* HAS_STATIC_INLINE:
+ * This symbol, if defined, indicates that the C compiler supports
+ * C99-style static inline. That is, the function can't be called
+ * from another translation unit.
+ */
+/* PERL_STATIC_INLINE:
+ * This symbol gives the best-guess incantation to use for static
+ * inline functions. If HAS_STATIC_INLINE is defined, this will
+ * give C99-style inline. If HAS_STATIC_INLINE is not defined,
+ * this will give a plain 'static'. It will always be defined
+ * to something that gives static linkage.
+ * Possibilities include
+ * static inline (c99)
+ * static __inline__ (gcc -ansi)
+ * static __inline (MSVC)
+ * static _inline (older MSVC)
+ * static (c89 compilers)
+ */
+/*#define HAS_STATIC_INLINE / **/
+#define PERL_STATIC_INLINE static /**/
+
/* HAS_SOCKET:
* This symbol, if defined, indicates that the BSD socket interface is
* supported.