diff src/callproc.c @ 31100:92f108b8b281

[USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes.
author Andrew Innes <andrewi@gnu.org>
date Tue, 22 Aug 2000 22:38:05 +0000
parents 98dd8e9ba6ca
children 91819a44456a
line wrap: on
line diff
--- a/src/callproc.c	Tue Aug 22 22:36:52 2000 +0000
+++ b/src/callproc.c	Tue Aug 22 22:38:05 2000 +0000
@@ -24,7 +24,9 @@
 #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 @@
 #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)