X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=h%2Fnmh.h;h=26eb0a2b0c031264b7a7dcbdc287872235fae74a;hp=f1711d5cbded6537529e55495da1e494d7213b60;hb=0a6e4d979566bc9eae772e37d2577bed1aacef92;hpb=5dd6771b28c257af405d7248639ed0e3bcdce38b diff --git a/h/nmh.h b/h/nmh.h index f1711d5..26eb0a2 100644 --- a/h/nmh.h +++ b/h/nmh.h @@ -1,7 +1,6 @@ - /* - * nmh.h -- system configuration header file - */ +** nmh.h -- system configuration header file +*/ #include @@ -61,8 +60,8 @@ #endif /* - * symbolic constants for lseek and fseek - */ +** symbolic constants for lseek and fseek +*/ #ifndef SEEK_SET # define SEEK_SET 0 #endif @@ -74,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 @@ -86,8 +85,8 @@ #endif /* - * we should get this value from sysconf(_SC_NGROUPS_MAX) - */ +** we should get this value from sysconf(_SC_NGROUPS_MAX) +*/ #ifndef NGROUPS_MAX # ifdef NGROUPS # define NGROUPS_MAX NGROUPS @@ -97,8 +96,8 @@ #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 @@ -109,11 +108,6 @@ #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); @@ -122,39 +116,38 @@ #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. */ -