mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-16 00:04:59 +00:00
Merge branch 'master' of ssh://192.168.42.74/Users/briggs/Projects/maiko
This commit is contained in:
commit
68eb8f9617
@ -703,5 +703,6 @@ extern int errno;
|
||||
#define DIRSEPSTR "/"
|
||||
#define DIRSEP '/'
|
||||
#define UNIXDIRSEP '/'
|
||||
#define MAXNAMLEN NAME_MAX
|
||||
#endif
|
||||
|
||||
|
||||
@ -388,9 +388,6 @@ typedef signed char s_char;
|
||||
/* #define sv_handler sa_handler */
|
||||
/* #define sv_mask sa_mask */
|
||||
/* #define sv_flags sa_flags */
|
||||
|
||||
#define MAXNAMLEN NAME_MAX
|
||||
|
||||
#endif /* LINUX */
|
||||
|
||||
|
||||
@ -409,11 +406,6 @@ typedef signed char s_char;
|
||||
#define REGISTER
|
||||
|
||||
typedef signed char s_char;
|
||||
|
||||
#define MAXNAMLEN NAME_MAX
|
||||
|
||||
#define SYSVONLY 1
|
||||
|
||||
#endif /* MACOSX || FREEBSD */
|
||||
|
||||
|
||||
|
||||
12
src/ldsout.c
12
src/ldsout.c
@ -58,16 +58,10 @@ extern int errno;
|
||||
is going to expand or not */
|
||||
int Storage_expanded; /* T or NIL */
|
||||
|
||||
/* RISCOS, OSF1 and MACOSX don't have valloc, and malloc works OK there. */
|
||||
#if defined(LINUX)
|
||||
/* has valloc() */
|
||||
#else
|
||||
#if defined(SYSVONLY) || defined(OSF1) || defined(MACOSX)
|
||||
/* RISCOS and OSF1 don't have valloc, and malloc works OK there. */
|
||||
#if defined(SYSVONLY) || defined(OSF1) || defined(RISCOS)
|
||||
#define valloc malloc
|
||||
#else
|
||||
char *valloc();
|
||||
#endif /* SYSVONLY || OSF1 || MACOSX */
|
||||
#endif /* not LINUX */
|
||||
#endif /* SYSVONLY || OSF1 || RISCOS */
|
||||
|
||||
/************************************************************************/
|
||||
/* */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user