summaryrefslogtreecommitdiff
path: root/cbtcommon/inline.h
diff options
context:
space:
mode:
authorYann DIRSON <ydirson@unx-4791.(none)>2006-04-11 10:58:28 +0200
committerYann DIRSON <ydirson@unx-4791.(none)>2006-04-11 10:58:28 +0200
commitfdf44680988ce53173262c8f6cb6b478a6ab04a9 (patch)
tree238ecd9c0dd480e4b0ac61ab30504f3c04611920 /cbtcommon/inline.h
downloadcvsps-fdf44680988ce53173262c8f6cb6b478a6ab04a9.tar.gz
cvsps-2.1 tarball importupstream
Diffstat (limited to 'cbtcommon/inline.h')
-rw-r--r--cbtcommon/inline.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/cbtcommon/inline.h b/cbtcommon/inline.h
new file mode 100644
index 0000000..776ef26
--- /dev/null
+++ b/cbtcommon/inline.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright 2001, 2002, 2003 David Mansfield and Cobite, Inc.
+ * See COPYING file for license information
+ */
+
+#ifndef UTIL_INLINE_H
+#define UTIL_INLINE_H
+
+#ifdef __GNUC__
+#define INLINE __inline__
+#endif
+
+#ifdef WIN32
+#define INLINE __inline
+#endif
+
+/* INLINE of last resort... heh */
+
+#ifndef INLINE
+#define INLINE /* void */
+#endif
+
+#endif