X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=h%2Fnmh.h;h=896786f54cbf0d8ed82e04340e8b3bc07837259c;hb=b6fbaae87d9cf00b74d94050c10ba3e700545178;hp=f00a3ad364f992142f08be4b63552d7300ea7e5d;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/h/nmh.h b/h/nmh.h index f00a3ad..896786f 100644 --- a/h/nmh.h +++ b/h/nmh.h @@ -1,9 +1,6 @@ - /* - * nmh.h -- system configuration header file - * - * $Id$ - */ +** nmh.h -- system configuration header file +*/ #include @@ -63,8 +60,8 @@ #endif /* - * symbolic constants for lseek and fseek - */ +** symbolic constants for lseek and fseek +*/ #ifndef SEEK_SET # define SEEK_SET 0 #endif @@ -76,8 +73,8 @@ #endif /* - * we should be getting this value from pathconf(_PC_PATH_MAX) - */ +** we should be getting this value from pathconf(_PC_PATH_MAX) +*/ #ifndef PATH_MAX # ifdef MAXPATHLEN # define PATH_MAX MAXPATHLEN @@ -88,19 +85,8 @@ #endif /* - * we should get this value from sysconf(_SC_NGROUPS_MAX) - */ -#ifndef NGROUPS_MAX -# ifdef NGROUPS -# define NGROUPS_MAX NGROUPS -# else -# define NGROUPS_MAX 16 -# endif -#endif - -/* - * we should be getting this value from sysconf(_SC_OPEN_MAX) - */ +** we should be getting this value from sysconf(_SC_OPEN_MAX) +*/ #ifndef OPEN_MAX # ifdef NOFILE # define OPEN_MAX NOFILE @@ -111,52 +97,40 @@ #endif #include - -#define bcmp(b1,b2,length) memcmp(b1, b2, length) -#define bcopy(b1,b2,length) memcpy (b2, b1, length) -#define bcpy(b1,b2,length) memcmp (b1, b2, length) -#define bzero(b,length) memset (b, 0, length) - -#ifdef HAVE_KILLPG -# define KILLPG(pgrp,sig) killpg(pgrp,sig); -#else -# define KILLPG(pgrp,sig) kill((-pgrp),sig); -#endif /* - * If your stat macros are broken, - * we will just undefine them. - */ +** If your stat macros are broken, +** we will just undefine them. +*/ #ifdef STAT_MACROS_BROKEN # ifdef S_ISBLK # undef S_ISBLK -# endif +# endif # ifdef S_ISCHR # undef S_ISCHR -# endif +# endif # ifdef S_ISDIR # undef S_ISDIR -# endif +# endif # ifdef S_ISFIFO # undef S_ISFIFO -# endif +# endif # ifdef S_ISLNK # undef S_ISLNK -# endif +# endif # ifdef S_ISMPB # undef S_ISMPB -# endif +# endif # ifdef S_ISMPC # undef S_ISMPC -# endif +# endif # ifdef S_ISNWK # undef S_ISNWK -# endif +# endif # ifdef S_ISREG # undef S_ISREG -# endif +# endif # ifdef S_ISSOCK # undef S_ISSOCK -# endif +# endif #endif /* STAT_MACROS_BROKEN. */ -