aboutsummaryrefslogtreecommitdiffstats
path: root/cppheader
diff options
context:
space:
mode:
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
+
+