summaryrefslogtreecommitdiff
path: root/missing/nt.h
diff options
context:
space:
mode:
Diffstat (limited to 'missing/nt.h')
-rw-r--r--missing/nt.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/missing/nt.h b/missing/nt.h
index be8d61fc41..a3d1f21aa5 100644
--- a/missing/nt.h
+++ b/missing/nt.h
@@ -9,6 +9,12 @@
*
*/
+#if defined(IMPORT)
+#define EXTERN extern __declspec(dllimport)
+#elif defined(EXPORT)
+#define EXTERN extern __declspec(dllexport)
+#endif
+
//
// Definitions for NT port of Perl
//