Commit 03695ace authored by Andrew Innes's avatar Andrew Innes

[USE_CRT_DLL]: Remove unnecessary extern, which

screws up dllimport attributes.
parent 3ec68006
...@@ -24,7 +24,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -24,7 +24,9 @@ Boston, MA 02111-1307, USA. */
#include <errno.h> #include <errno.h>
#include <stdio.h> #include <stdio.h>
#ifndef USE_CRT_DLL
extern int errno; extern int errno;
#endif
/* Define SIGCHLD as an alias for SIGCLD. */ /* Define SIGCHLD as an alias for SIGCLD. */
...@@ -88,8 +90,10 @@ extern int errno; ...@@ -88,8 +90,10 @@ extern int errno;
#ifdef VMS #ifdef VMS
extern noshare char **environ; extern noshare char **environ;
#else #else
#ifndef USE_CRT_DLL
extern char **environ; extern char **environ;
#endif #endif
#endif
#ifdef HAVE_SETPGID #ifdef HAVE_SETPGID
#if !defined (USG) || defined (BSD_PGRPS) #if !defined (USG) || defined (BSD_PGRPS)
......
...@@ -72,7 +72,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -72,7 +72,9 @@ Boston, MA 02111-1307, USA. */
#define file_tell ftell #define file_tell ftell
#endif #endif
#ifndef USE_CRT_DLL
extern int errno; extern int errno;
#endif
Lisp_Object Qread_char, Qget_file_char, Qstandard_input, Qcurrent_load_list; Lisp_Object Qread_char, Qget_file_char, Qstandard_input, Qcurrent_load_list;
Lisp_Object Qvariable_documentation, Vvalues, Vstandard_input, Vafter_load_alist; Lisp_Object Qvariable_documentation, Vvalues, Vstandard_input, Vafter_load_alist;
......
...@@ -52,8 +52,10 @@ ...@@ -52,8 +52,10 @@
# endif # endif
#endif #endif
#if HAVE_TZNAME #if HAVE_TZNAME
#ifndef USE_CRT_DLL
extern char *tzname[]; extern char *tzname[];
#endif #endif
#endif
/* Do multibyte processing if multibytes are supported, unless /* Do multibyte processing if multibytes are supported, unless
multibyte sequences are safe in formats. Multibyte sequences are multibyte sequences are safe in formats. Multibyte sequences are
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment