summaryrefslogtreecommitdiffstats
path: root/Utilities/cmxmlrpc/inline.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-02-24 01:28:21 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-02-24 01:28:21 (GMT)
commitf30e7608484d48ec9a3f3073f4b7a351a44d90a9 (patch)
tree48b306d35d39e00747cd3c32e8a6cf51c1d2ed82 /Utilities/cmxmlrpc/inline.h
parenta8770ccc193371d19f16bad6e4cf7ef6932a4ad5 (diff)
downloadCMake-f30e7608484d48ec9a3f3073f4b7a351a44d90a9.zip
CMake-f30e7608484d48ec9a3f3073f4b7a351a44d90a9.tar.gz
CMake-f30e7608484d48ec9a3f3073f4b7a351a44d90a9.tar.bz2
COMP: Several Windows fixes
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