MacOS updates. Initial support for GUSI (MacOS socket implementation)
is added.
This commit is contained in:
		@@ -3,3 +3,7 @@
 | 
				
			|||||||
#ifdef __POWERPC__
 | 
					#ifdef __POWERPC__
 | 
				
			||||||
#pragma longlong on
 | 
					#pragma longlong on
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					#if 0
 | 
				
			||||||
 | 
					#define MAC_OS_GUSI_SOURCE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					#define MONOLITH
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -127,7 +127,7 @@
 | 
				
			|||||||
#undef  SGTTY
 | 
					#undef  SGTTY
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if !defined(TERMIO) && !defined(TERMIOS) && !defined(VMS) && !defined(MSDOS) && !defined(MAC_OS_pre_X)
 | 
					#if !defined(TERMIO) && !defined(TERMIOS) && !defined(VMS) && !defined(MSDOS) && !defined(MAC_OS_pre_X) && !defined(MAC_OS_GUSI_SOURCE)
 | 
				
			||||||
#undef  TERMIOS
 | 
					#undef  TERMIOS
 | 
				
			||||||
#undef  TERMIO
 | 
					#undef  TERMIO
 | 
				
			||||||
#define SGTTY
 | 
					#define SGTTY
 | 
				
			||||||
@@ -178,7 +178,7 @@ struct IOSB {
 | 
				
			|||||||
	};
 | 
						};
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef MAC_OS_pre_X
 | 
					#if defined(MAC_OS_pre_X) || defined(MAC_OS_GUSI_SOURCE)
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * This one needs work. As a matter of fact the code is unoperational
 | 
					 * This one needs work. As a matter of fact the code is unoperational
 | 
				
			||||||
 * and this is only a trick to get it compiled.
 | 
					 * and this is only a trick to get it compiled.
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										10
									
								
								e_os.h
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								e_os.h
									
									
									
									
									
								
							@@ -84,8 +84,11 @@ extern "C" {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#if defined(__MWERKS__) && defined(macintosh)
 | 
					#if defined(__MWERKS__) && defined(macintosh)
 | 
				
			||||||
# if macintosh==1
 | 
					# if macintosh==1
 | 
				
			||||||
#  define MAC_OS_pre_X
 | 
					#  ifndef MAC_OS_GUSI_SOURCE
 | 
				
			||||||
#  define NO_SYS_TYPES_H
 | 
					#    define MAC_OS_pre_X
 | 
				
			||||||
 | 
					#    define NO_SYS_TYPES_H
 | 
				
			||||||
 | 
					#  endif
 | 
				
			||||||
 | 
					#  define NO_SYS_PARAM_H
 | 
				
			||||||
#  define NO_CHMOD
 | 
					#  define NO_CHMOD
 | 
				
			||||||
#  define NO_SYSLOG
 | 
					#  define NO_SYSLOG
 | 
				
			||||||
#  undef  DEVRANDOM
 | 
					#  undef  DEVRANDOM
 | 
				
			||||||
@@ -249,6 +252,7 @@ extern "C" {
 | 
				
			|||||||
                                     __VMS_EXIT |= 0x10000000; \
 | 
					                                     __VMS_EXIT |= 0x10000000; \
 | 
				
			||||||
				     return(n); } while(0)
 | 
									     return(n); } while(0)
 | 
				
			||||||
#    endif
 | 
					#    endif
 | 
				
			||||||
 | 
					#    define NO_SYS_PARAM_H
 | 
				
			||||||
#  else
 | 
					#  else
 | 
				
			||||||
     /* !defined VMS */
 | 
					     /* !defined VMS */
 | 
				
			||||||
#    ifdef OPENSSL_UNISTD
 | 
					#    ifdef OPENSSL_UNISTD
 | 
				
			||||||
@@ -307,7 +311,7 @@ extern HINSTANCE _hInstance;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#  else
 | 
					#  else
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#    ifndef VMS
 | 
					#    ifndef NO_SYS_PARAM_H
 | 
				
			||||||
#      include <sys/param.h>
 | 
					#      include <sys/param.h>
 | 
				
			||||||
#    endif
 | 
					#    endif
 | 
				
			||||||
#    include <sys/time.h> /* Needed under linux for FD_XXX */
 | 
					#    include <sys/time.h> /* Needed under linux for FD_XXX */
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user