summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/include
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2008-09-11 06:22:31 +0000
committerChristopher Faylor <me@cgf.cx>2008-09-11 06:22:31 +0000
commitc4ca0e800af73f81465603c97484982df0f51b0d (patch)
treebd3d908658a6e3f0f1bb5d7774caeb78f65a2012 /winsup/cygwin/include
parentcb7e1879ee3a55c91b8c85e6d2f879f392a2c995 (diff)
downloadcygnal-c4ca0e800af73f81465603c97484982df0f51b0d.tar.gz
cygnal-c4ca0e800af73f81465603c97484982df0f51b0d.tar.bz2
cygnal-c4ca0e800af73f81465603c97484982df0f51b0d.zip
* cygwin.din (sys_sigabbrev): Add this here.
* dcrt0.cc (__argc,__argv,_check_for_executable): Remove dllexport decoration since it is already handled in cygwin.din. * errno.cc (_sys_errlist): Ditto. * strsig.cc (sys_sigabbrev): Ditto. * include/cygwin/signal.h: Protect use of dllimport when __INSIDE_CYGWIN__. * libc/getopt.c: Revert previous changes. Define __INSIDE_CYGWIN__.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r--winsup/cygwin/include/cygwin/signal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/cygwin/include/cygwin/signal.h b/winsup/cygwin/include/cygwin/signal.h
index 71fdf7440..a3cc90b22 100644
--- a/winsup/cygwin/include/cygwin/signal.h
+++ b/winsup/cygwin/include/cygwin/signal.h
@@ -269,7 +269,11 @@ _sig_func_ptr sigset (int, _sig_func_ptr);
int sigqueue(pid_t, int, const union sigval);
int siginterrupt (int, int);
+#ifdef __INSIDE_CYGWIN__
+extern const char *sys_sigabbrev[];
+#else
extern const char __declspec(dllimport) *sys_sigabbrev[];
+#endif
#ifdef __cplusplus
}