Annotation of OpenXM/src/mcpp/mcpp.diff, Revision 1.2
1.1 ohara 1: --- src/system.c.orig 2008-11-26 18:53:51.000000000 +0900
1.2 ! noro 2: +++ src/system.c 2021-12-25 20:30:44.000000000 +0900
! 3: @@ -52,6 +52,10 @@
! 4: #include "dir.h"
! 5: #endif
! 6:
! 7: +#if defined(__clang__)
! 8: +ssize_t readlink(const char *restrict path, char *restrict buf, size_t bufsize);
! 9: +#endif
! 10: +
! 11: #include "sys/types.h"
! 12: #include "sys/stat.h" /* For stat() */
! 13: #if ! defined( S_ISREG)
! 14: @@ -1276,7 +1280,7 @@
1.1 ohara 15: chk_opts( sflag, trad);
16:
17: if (warn_level == -1) /* No -W option */
18: - warn_level = 1; /* Default warning level */
19: + warn_level = 0; /* Default warning level */
20: else if (warn_level == 0xFF)
21: warn_level = 0; /* -W0 has high precedence */
22:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>