OSDN Git Service

really check in correct fix.
authorcgf <cgf>
Sun, 27 Apr 2003 03:14:02 +0000 (03:14 +0000)
committercgf <cgf>
Sun, 27 Apr 2003 03:14:02 +0000 (03:14 +0000)
winsup/cygwin/errno.cc

index 92d0bb0..4e0e653 100644 (file)
@@ -295,7 +295,7 @@ const NO_COPY char __declspec(dllexport) * const _sys_errlist[]=
 /* EOVERFLOW 139 */ "Value too large for defined data type"
 };
 
-const int NO_COPY __declspec(dllexport) _sys_nerr = sizeof (_sys_errlist) / sizeof (_sys_errlist[0]);
+extern const int NO_COPY __declspec(dllexport) _sys_nerr = sizeof (_sys_errlist) / sizeof (_sys_errlist[0]);
 };
 
 /* FIXME: Why is strerror() a long switch and not just: