"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "os_dep.h" between
links-1.03.tar.gz and links-1.04.tar.gz

About: Links is a Lynx-like text WWW browser (table support and pop-up dialog boxes).

os_dep.h  (links-1.03):os_dep.h  (links-1.04)
#define SYS_UNIX 1 #define SYS_UNIX 1
#define SYS_OS2 2 #define SYS_OS2 2
#define SYS_WIN_32 3 #define SYS_WIN_32 3
#define SYS_BEOS 4 #define SYS_BEOS 4
#define SYS_RISCOS 5 #define SYS_RISCOS 5
#define SYS_ATHEOS 6 #define SYS_ATHEOS 6
#define SYS_SPAD 7 #define SYS_SPAD 7
#define SYS_INTERIX 8 #define SYS_INTERIX 8
#define SYS_OPENVMS 9
/* hardcoded limit of 10 OSes in default.c */ /* hardcoded limit of 10 OSes in default.c */
#ifdef UNIX
#undef UNIX
#endif
#if defined(__EMX__) #if defined(__EMX__)
#define OS2 #define OS2
#elif defined(_WIN32) || defined(__CYGWIN__) #elif defined(_WIN32) || defined(__CYGWIN__)
#define WIN32 #define WIN32
#elif defined(__INTERIX) #elif defined(__INTERIX)
#define INTERIX #define INTERIX
#elif defined(__BEOS__) || defined(__HAIKU__) #elif defined(__BEOS__) || defined(__HAIKU__)
#define BEOS #define BEOS
#elif defined(__riscos__) #elif defined(__riscos__)
#define RISCOS #define RISCOS
#elif defined(__ATHEOS__) || defined(__SYLLABLE__) #elif defined(__ATHEOS__) || defined(__SYLLABLE__)
#define ATHEOS #define ATHEOS
#elif defined(__SPAD__) #elif defined(__SPAD__)
#define SPAD #define SPAD
#elif defined(__VMS)
#define OPENVMS
#else #else
#define UNIX #define UNIX
#endif #endif
#if defined(OS2) || defined(WIN32) || defined(INTERIX) || defined(BEOS) || defin
ed(RISCOS) || defined(SPAD)
#ifdef UNIX
#undef UNIX
#endif
#endif
#if defined(UNIX) #if defined(UNIX)
static inline int dir_sep(char x) { return x == '/'; } static inline int dir_sep(char x) { return x == '/'; }
#define NEWLINE "\n" #define NEWLINE "\n"
#define FS_UNIX_RIGHTS #define FS_UNIX_RIGHTS
#define FS_UNIX_HARDLINKS #define FS_UNIX_HARDLINKS
#define FS_UNIX_SOFTLINKS #define FS_UNIX_SOFTLINKS
#define FS_UNIX_USERS #define FS_UNIX_USERS
#define SYSTEM_ID SYS_UNIX #define SYSTEM_ID SYS_UNIX
#define SYSTEM_NAME "Unix" #define SYSTEM_NAME "Unix"
skipping to change at line 69 skipping to change at line 70
static inline int dir_sep(char x) { return x == '/' || x == '\\'; } static inline int dir_sep(char x) { return x == '/' || x == '\\'; }
#define NEWLINE "\r\n" #define NEWLINE "\r\n"
/*#define NO_ASYNC_LOOKUP*/ /*#define NO_ASYNC_LOOKUP*/
#define SYSTEM_ID SYS_OS2 #define SYSTEM_ID SYS_OS2
#define SYSTEM_NAME "OS/2" #define SYSTEM_NAME "OS/2"
#define DEFAULT_SHELL "cmd.exe" #define DEFAULT_SHELL "cmd.exe"
#define GETSHELL getenv("COMSPEC") #define GETSHELL getenv("COMSPEC")
#define NO_FG_EXEC #define NO_FG_EXEC
#define NO_CTRL_Z #define NO_CTRL_Z
#define DOS_FS #define DOS_FS
#define DOS_FS_8_3
#define NO_FILE_SECURITY #define NO_FILE_SECURITY
#define NO_FORK_ON_EXIT #define NO_FORK_ON_EXIT
#define ASSOC_CONS_XWIN #define ASSOC_CONS_XWIN
#define DISABLE_SMB #define DISABLE_SMB
#elif defined(WIN32) #elif defined(WIN32)
static inline int dir_sep(char x) { return x == '/' || x == '\\'; } static inline int dir_sep(char x) { return x == '/' || x == '\\'; }
#define NEWLINE "\r\n" #define NEWLINE "\r\n"
/*#define NO_ASYNC_LOOKUP*/ /*#define NO_ASYNC_LOOKUP*/
#define SYSTEM_ID SYS_WIN_32 #define SYSTEM_ID SYS_WIN_32
#define SYSTEM_NAME "Win32" #define SYSTEM_NAME "Win32"
#define DEFAULT_SHELL "cmd.exe" #define DEFAULT_SHELL "cmd.exe"
#define GETSHELL getenv("COMSPEC") #define GETSHELL getenv("COMSPEC")
#define NO_FG_EXEC #define NO_FG_EXEC
#define NO_CTRL_Z #define NO_CTRL_Z
#define DOS_FS #define DOS_FS
#define SET_WINDOW_TITLE_UTF_8 #define SET_WINDOW_TITLE_UTF_8
#define ASSOC_CONS_XWIN #define ASSOC_CONS_XWIN
#ifdef _UWIN
#define DISABLE_SMB
#endif
#ifdef __CYGWIN__
#define OS_BAD_SIGNALS #define OS_BAD_SIGNALS
#endif
#ifndef HAVE_PTHREADS #ifndef HAVE_PTHREADS
#define HAVE_PTHREADS #define HAVE_PTHREADS
#endif
#if defined(HAVE_SYS_UN_H) && !defined(_UWIN)
#define USE_AF_UNIX
#else
#define DONT_USE_AF_UNIX
#endif #endif
#elif defined(INTERIX) #elif defined(INTERIX)
static inline int dir_sep(char x) { return x == '/'; } static inline int dir_sep(char x) { return x == '/'; }
#define NEWLINE "\n" #define NEWLINE "\n"
#define FS_UNIX_RIGHTS #define FS_UNIX_RIGHTS
#define FS_UNIX_HARDLINKS #define FS_UNIX_HARDLINKS
#define FS_UNIX_SOFTLINKS #define FS_UNIX_SOFTLINKS
#define FS_UNIX_USERS #define FS_UNIX_USERS
skipping to change at line 198 skipping to change at line 210
#define SHARED_CONFIG_DIR "ETC.:/" #define SHARED_CONFIG_DIR "ETC.:/"
#ifdef HAVE_SYS_UN_H #ifdef HAVE_SYS_UN_H
#define USE_AF_UNIX #define USE_AF_UNIX
#else #else
#define DONT_USE_AF_UNIX #define DONT_USE_AF_UNIX
#endif #endif
#define ASSOC_BLOCK #define ASSOC_BLOCK
#define ASSOC_CONS_XWIN #define ASSOC_CONS_XWIN
#define NO_FORK_ON_EXIT #define NO_FORK_ON_EXIT
#elif defined(OPENVMS)
static inline int dir_sep(unsigned char x) { return x == '/'; }
#define NEWLINE "\n"
#define FS_UNIX_RIGHTS
#define SYSTEM_ID SYS_OPENVMS
#define SYSTEM_NAME "VMS"
#define DEFAULT_SHELL "/DCL"
#define GETSHELL NULL
#define SHARED_CONFIG_DIR "/etc/"
#ifndef HAVE_PTHREADS
#define HAVE_PTHREADS
#endif
#define DONT_USE_AF_UNIX
#define ASSOC_BLOCK
#define ASSOC_CONS_XWIN
#define NO_CTRL_Z
#define NO_FORK_ON_EXIT
#define DISABLE_SMB
#endif #endif
#ifdef FS_UNIX_USERS #ifdef FS_UNIX_USERS
#if !defined(HAVE_GETPWUID) || !defined(HAVE_GETGRGID) #if !defined(HAVE_GETPWUID) || !defined(HAVE_GETGRGID)
#undef FS_UNIX_USERS #undef FS_UNIX_USERS
#endif #endif
#endif #endif
#if !defined(HAVE_BEGINTHREAD) && !defined(BEOS) && !defined(HAVE_PTHREADS)
#define THREAD_SAFE_LOOKUP
#endif
 End of changes. 10 change blocks. 
8 lines changed or deleted 39 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)