summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/getopt.h')
-rw-r--r--Build/source/texk/kpathsea/getopt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/getopt.h b/Build/source/texk/kpathsea/getopt.h
index d3e9aa06fd3..8df5003ac8e 100644
--- a/Build/source/texk/kpathsea/getopt.h
+++ b/Build/source/texk/kpathsea/getopt.h
@@ -24,6 +24,10 @@
#ifndef _GETOPT_H
#define _GETOPT_H 1
+#if defined (WIN32) && !defined(__MINGW32__)
+#define KPSE_DLL 1
+#endif /* WIN32 && ! __MINGW32__ */
+
#if defined (KPSE_DLL) && (defined (WIN32) || defined (__CYGWIN__))
#ifdef MAKE_KPSE_DLL
#define KPSEDLL __declspec(dllexport)