initial load of upstream version 1.06.32
[xmlrpc-c] / lib / util / include / inline.h
diff --git a/lib/util/include/inline.h b/lib/util/include/inline.h
new file mode 100644 (file)
index 0000000..f90032b
--- /dev/null
@@ -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