* 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__.
This commit is contained in:
		@@ -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
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user