From d1726c5970b21c153482294fc363a4d18309c6f9 Mon Sep 17 00:00:00 2001 From: Stephen Heumann Date: Sun, 14 May 2017 22:03:54 -0500 Subject: [PATCH] Update config.h to remove unnecessary and inappropriate stuff. In particular, this should address possible problems when using long file names or paths. --- dmake/unix/gno/config.h | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/dmake/unix/gno/config.h b/dmake/unix/gno/config.h index 22e605f..181109e 100644 --- a/dmake/unix/gno/config.h +++ b/dmake/unix/gno/config.h @@ -43,26 +43,11 @@ * macros. */ #define coreleft() 0L -/* Define the getcwd function that is used in the code, since BSD does - * not have getcwd, but call it getwd instead. */ -extern char* getwd ANSI((char*)); -#define getcwd(buf,siz) getwd(buf) - /* We don't care about CONST */ -#define CONST +#define CONST const /* a small problem with pointer to voids on some unix machines needs this */ #define PVOID void * -/* Sequent dynix doesn't have tzset() Arrrrgh! */ +/* GNO 2.0.6 doesn't have tzset() Arrrrgh! */ #define tzset() - -#if defined(GNO) -# if !defined (PATH_MAX) -# define PATH_MAX 64 -# endif - -# if !defined(NAME_MAX) -# define NAME_MAX 15 -# endif -#endif /* GNO */