Use both sun and __sun
Reviewed-by: Andy Polyakov <appro@openssl.org>
(cherry picked from commit ed02493567)
			
			
This commit is contained in:
		@@ -120,7 +120,7 @@
 | 
				
			|||||||
   optimization options.  Older Sparc's work better with only UNROLL, but
 | 
					   optimization options.  Older Sparc's work better with only UNROLL, but
 | 
				
			||||||
   there's no way to tell at compile time what it is you're running on */
 | 
					   there's no way to tell at compile time what it is you're running on */
 | 
				
			||||||
 
 | 
					 
 | 
				
			||||||
#if defined( __sun )		/* Newer Sparc's */
 | 
					#if defined( __sun ) || defined ( sun )		/* Newer Sparc's */
 | 
				
			||||||
#  define DES_PTR
 | 
					#  define DES_PTR
 | 
				
			||||||
#  define DES_RISC1
 | 
					#  define DES_RISC1
 | 
				
			||||||
#  define DES_UNROLL
 | 
					#  define DES_UNROLL
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										4
									
								
								e_os.h
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								e_os.h
									
									
									
									
									
								
							@@ -612,7 +612,7 @@ struct servent *PASCAL getservbyname(const char *, const char *);
 | 
				
			|||||||
#    include <sys/select.h>
 | 
					#    include <sys/select.h>
 | 
				
			||||||
#   endif
 | 
					#   endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#   if defined(__sun)
 | 
					#   if defined(__sun) || defined(sun)
 | 
				
			||||||
#    include <sys/filio.h>
 | 
					#    include <sys/filio.h>
 | 
				
			||||||
#   else
 | 
					#   else
 | 
				
			||||||
#    ifndef VMS
 | 
					#    ifndef VMS
 | 
				
			||||||
@@ -654,7 +654,7 @@ struct servent *PASCAL getservbyname(const char *, const char *);
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# endif
 | 
					# endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# if defined(__sun) && !defined(__svr4__) && !defined(__SVR4)
 | 
					# if (defined(__sun) || defined(sun)) && !defined(__svr4__) && !defined(__SVR4)
 | 
				
			||||||
  /* include headers first, so our defines don't break it */
 | 
					  /* include headers first, so our defines don't break it */
 | 
				
			||||||
#  include <stdlib.h>
 | 
					#  include <stdlib.h>
 | 
				
			||||||
#  include <string.h>
 | 
					#  include <string.h>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user