summaryrefslogtreecommitdiff
path: root/cf/win32.m4
diff options
context:
space:
mode:
Diffstat (limited to 'cf/win32.m4')
-rw-r--r--cf/win32.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/cf/win32.m4 b/cf/win32.m4
new file mode 100644
index 0000000000000..0687ff721d8f4
--- /dev/null
+++ b/cf/win32.m4
@@ -0,0 +1,12 @@
+dnl $Id: win32.m4 13709 2004-04-13 14:29:47Z lha $
+dnl rk_WIN32_EXPORT buildsymbol symbol-that-export
+AC_DEFUN([rk_WIN32_EXPORT],[AH_TOP([#ifdef $1
+#ifndef $2
+#ifdef _WIN32_
+#define $2 _export _stdcall
+#else
+#define $2
+#endif
+#endif
+#endif
+])])