X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=h%2Fnmh.h;h=75d4d2a3d37ae6d8f7fe2bc12cbfcbc720ad6424;hp=f00a3ad364f992142f08be4b63552d7300ea7e5d;hb=714b5c530ece27ea2835a313013f5b770163403c;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b diff --git a/h/nmh.h b/h/nmh.h index f00a3ad..75d4d2a 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,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 @@ -99,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 @@ -111,11 +108,11 @@ #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) +#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); @@ -124,39 +121,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. */ -