@@ -110,7 +110,8 @@ libc_enum! {
110110         SIGEMT , 
111111        #[ cfg( not( any( linux_android,  target_os = "emscripten" , 
112112                      target_os = "fuchsia" ,  target_os = "redox" , 
113-                       target_os = "haiku" ,  target_os = "aix" ) ) ) ] 
113+                       target_os = "haiku" ,  target_os = "aix" , 
114+                       target_os = "solaris" ) ) ) ] 
114115        /// Information request 
115116         SIGINFO , 
116117    } 
@@ -188,7 +189,8 @@ impl FromStr for Signal {
188189                target_os = "fuchsia" ,  
189190                target_os = "redox" ,  
190191                target_os = "aix" ,  
191-                 target_os = "haiku"  
192+                 target_os = "haiku" ,  
193+                 target_os = "solaris"  
192194            ) ) ) ]  
193195            "SIGINFO"  => Signal :: SIGINFO , 
194196            _ => return  Err ( Errno :: EINVAL ) , 
@@ -272,7 +274,8 @@ impl Signal {
272274                target_os = "fuchsia" ,  
273275                target_os = "redox" ,  
274276                target_os = "aix" ,  
275-                 target_os = "haiku"  
277+                 target_os = "haiku" ,  
278+                 target_os = "solaris"  
276279            ) ) ) ]  
277280            Signal :: SIGINFO  => "SIGINFO" , 
278281        } 
@@ -356,13 +359,22 @@ const SIGNALS: [Signal; 30] = [
356359    SIGURG ,  SIGPOLL ,  SIGIO ,  SIGSTOP ,  SIGTSTP ,  SIGCONT ,  SIGTTIN ,  SIGTTOU , 
357360    SIGVTALRM ,  SIGPROF ,  SIGXCPU ,  SIGXFSZ ,  SIGTRAP , 
358361] ; 
362+ #[ cfg( target_os = "solaris" ) ]  
363+ #[ cfg( feature = "signal" ) ]  
364+ const  SIGNALS :  [ Signal ;  30 ]  = [ 
365+     SIGHUP ,  SIGINT ,  SIGQUIT ,  SIGILL ,  SIGTRAP ,  SIGABRT ,  SIGBUS ,  SIGFPE ,  SIGKILL , 
366+     SIGUSR1 ,  SIGSEGV ,  SIGUSR2 ,  SIGPIPE ,  SIGALRM ,  SIGTERM ,  SIGCHLD ,  SIGCONT , 
367+     SIGSTOP ,  SIGTSTP ,  SIGTTIN ,  SIGTTOU ,  SIGURG ,  SIGXCPU ,  SIGXFSZ ,  SIGVTALRM , 
368+     SIGPROF ,  SIGWINCH ,  SIGIO ,  SIGSYS ,  SIGEMT , 
369+ ] ; 
359370#[ cfg( not( any(  
360371    linux_android,  
361372    target_os = "fuchsia" ,  
362373    target_os = "emscripten" ,  
363374    target_os = "aix" ,  
364375    target_os = "redox" ,  
365-     target_os = "haiku"  
376+     target_os = "haiku" ,  
377+     target_os = "solaris"  
366378) ) ) ] 
367379#[ cfg( feature = "signal" ) ]  
368380const  SIGNALS :  [ Signal ;  31 ]  = [ 
0 commit comments