aboutsummaryrefslogtreecommitdiffstats
path: root/cppheader
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-04-14 12:56:48 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2012-04-14 12:56:48 +0100
commit0b624384cd52be20e61284551d832b499d7b7707 (patch)
tree6f95a4bbef47abc9720b96c0722e8f632aef228a /cppheader
downloadlibphidget21-6c284da2cfff41863f06ee8109e2e20fbbd73940.tar.gz
Imported Upstream version 2.1.8.20120216upstream/2.1.8.20120216
Diffstat (limited to 'cppheader')
-rw-r--r--cppheader21
1 files changed, 21 insertions, 0 deletions
diff --git a/cppheader b/cppheader
new file mode 100644
index 0000000..17885c1
--- /dev/null
+++ b/cppheader
@@ -0,0 +1,21 @@
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#if defined(__stdcall)
+ #define CCONV __stdcall
+#else
+ #if defined(__BORLANDC__) || defined(_MSC_VER)
+ #define CCONV __stdcall
+ #else
+ #define CCONV
+ #endif
+#endif
+
+#if !defined(__int64)
+#if !defined(__BORLANDC__) && !defined(_MSC_VER)
+typedef long long __int64;
+#endif
+#endif
+
+