summaryrefslogtreecommitdiffstats
path: root/Utilities/cmxmlrpc/inline.h
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmxmlrpc/inline.h')
-rw-r--r--Utilities/cmxmlrpc/inline.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/Utilities/cmxmlrpc/inline.h b/Utilities/cmxmlrpc/inline.h
new file mode 100644
index 0000000..f90032b
--- /dev/null
+++ b/Utilities/cmxmlrpc/inline.h
@@ -0,0 +1,19 @@
+#ifndef XMLRPC_INLINE_H_INCLUDED
+#define XMLRPC_INLINE_H_INCLUDED
+
+/* Xmlrpc-c uses __inline__ to declare functions that should be
+ compiled as inline code. Some compilers, e.g. GNU, recognize the
+ __inline__ keyword.
+*/
+#ifndef __GNUC__
+#ifndef __inline__
+#ifdef __sgi
+#define __inline__ __inline
+#else
+#define __inline__
+#endif
+#endif
+#endif
+
+
+#endif