summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/getopt.h
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-06-10 08:35:26 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-06-10 08:35:26 +0000
commit91e8bc6ee3290fc6f8fa1d0c35f900726899b39e (patch)
treeec547bcbcb004269426560ea643816f076076b5e /Build/source/texk/kpathsea/getopt.h
parentbe341f8a8fd8c2ac481ea0b2abb04e95475f962a (diff)
chktex and getopt
git-svn-id: svn://tug.org/texlive/trunk@18859 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/getopt.h')
-rw-r--r--Build/source/texk/kpathsea/getopt.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Build/source/texk/kpathsea/getopt.h b/Build/source/texk/kpathsea/getopt.h
index 69a40426506..68d10c0d5ea 100644
--- a/Build/source/texk/kpathsea/getopt.h
+++ b/Build/source/texk/kpathsea/getopt.h
@@ -24,9 +24,9 @@
#ifndef _GETOPT_H
#define _GETOPT_H 1
-#if defined (WIN32) && !defined(__MINGW32__)
+#if defined (WIN32) && !defined (__MINGW32__) && !defined (NO_KPSE_DLL)
#define KPSE_DLL 1
-#endif /* WIN32 && ! __MINGW32__ */
+#endif /* WIN32 && !__MINGW32__ && !NO_KPSE_DLL */
#if defined (KPSE_DLL) && (defined (WIN32) || defined (__CYGWIN__))
#ifdef MAKE_KPSE_DLL
@@ -123,7 +123,7 @@ extern KPSEDLL int getopt_long_only (int argc, char *const *argv,
const char *shortopts,
const struct option *longopts, int *longind);
-#ifdef MAKE_KPSE_DLL /* libkpathsea internal only */
+#if defined (MAKE_KPSE_DLL) || defined (NO_KPSE_DLL) /* libkpathsea internal only */
/* Internal only. Users should not call this directly. */
extern int _getopt_internal (int argc, char *const *argv,
@@ -131,16 +131,16 @@ extern int _getopt_internal (int argc, char *const *argv,
const struct option *longopts, int *longind,
int long_only);
-#endif /* MAKE_KPSE_DLL */
+#endif /* MAKE_KPSE_DLL || NO_KPSE_DLL */
#else /* not __STDC__ */
extern KPSEDLL int getopt_long ();
extern KPSEDLL int getopt_long_only ();
-#ifdef MAKE_KPSE_DLL /* libkpathsea internal only */
+#if defined (MAKE_KPSE_DLL) || defined (NO_KPSE_DLL) /* libkpathsea internal only */
extern int _getopt_internal ();
-#endif /* MAKE_KPSE_DLL */
+#endif /* MAKE_KPSE_DLL || NO_KPSE_DLL */
#endif /* __STDC__ */
#ifdef __cplusplus