1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-05-04 23:36:04 +00:00

Merge branch 'master' of ssh://192.168.42.74/Users/briggs/Projects/maiko

This commit is contained in:
Nick Briggs
2020-07-09 22:41:20 -07:00
3 changed files with 4 additions and 17 deletions

View File

@@ -703,5 +703,6 @@ extern int errno;
#define DIRSEPSTR "/" #define DIRSEPSTR "/"
#define DIRSEP '/' #define DIRSEP '/'
#define UNIXDIRSEP '/' #define UNIXDIRSEP '/'
#define MAXNAMLEN NAME_MAX
#endif #endif

View File

@@ -388,9 +388,6 @@ typedef signed char s_char;
/* #define sv_handler sa_handler */ /* #define sv_handler sa_handler */
/* #define sv_mask sa_mask */ /* #define sv_mask sa_mask */
/* #define sv_flags sa_flags */ /* #define sv_flags sa_flags */
#define MAXNAMLEN NAME_MAX
#endif /* LINUX */ #endif /* LINUX */
@@ -409,11 +406,6 @@ typedef signed char s_char;
#define REGISTER #define REGISTER
typedef signed char s_char; typedef signed char s_char;
#define MAXNAMLEN NAME_MAX
#define SYSVONLY 1
#endif /* MACOSX || FREEBSD */ #endif /* MACOSX || FREEBSD */

View File

@@ -58,16 +58,10 @@ extern int errno;
is going to expand or not */ is going to expand or not */
int Storage_expanded; /* T or NIL */ int Storage_expanded; /* T or NIL */
/* RISCOS, OSF1 and MACOSX don't have valloc, and malloc works OK there. */ /* RISCOS and OSF1 don't have valloc, and malloc works OK there. */
#if defined(LINUX) #if defined(SYSVONLY) || defined(OSF1) || defined(RISCOS)
/* has valloc() */
#else
#if defined(SYSVONLY) || defined(OSF1) || defined(MACOSX)
#define valloc malloc #define valloc malloc
#else #endif /* SYSVONLY || OSF1 || RISCOS */
char *valloc();
#endif /* SYSVONLY || OSF1 || MACOSX */
#endif /* not LINUX */
/************************************************************************/ /************************************************************************/
/* */ /* */