summaryrefslogtreecommitdiff
path: root/src/callproc.c
diff options
context:
space:
mode:
authorAndrew Innes <andrewi@gnu.org>2000-08-22 22:38:05 +0000
committerAndrew Innes <andrewi@gnu.org>2000-08-22 22:38:05 +0000
commit03695acef74e736c8d6538c56d39d535008fd72d (patch)
treecc792483b81d3e4437df16cd305388e454e81cf1 /src/callproc.c
parent3ec68006ee3994a79d6df34a036d870b4cfebe7e (diff)
downloademacs-03695acef74e736c8d6538c56d39d535008fd72d.tar.gz
emacs-03695acef74e736c8d6538c56d39d535008fd72d.tar.bz2
emacs-03695acef74e736c8d6538c56d39d535008fd72d.zip
[USE_CRT_DLL]: Remove unnecessary extern, which
screws up dllimport attributes.
Diffstat (limited to 'src/callproc.c')
-rw-r--r--src/callproc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/callproc.c b/src/callproc.c
index b29572bae0c..bf2fabcc750 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -24,7 +24,9 @@ Boston, MA 02111-1307, USA. */
#include <errno.h>
#include <stdio.h>
+#ifndef USE_CRT_DLL
extern int errno;
+#endif
/* Define SIGCHLD as an alias for SIGCLD. */
@@ -88,8 +90,10 @@ extern int errno;
#ifdef VMS
extern noshare char **environ;
#else
+#ifndef USE_CRT_DLL
extern char **environ;
#endif
+#endif
#ifdef HAVE_SETPGID
#if !defined (USG) || defined (BSD_PGRPS)