summaryrefslogtreecommitdiff
path: root/make.h
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>1999-08-31 17:02:31 +0000
committerPaul Smith <psmith@gnu.org>1999-08-31 17:02:31 +0000
commit27255c5b51c25f0256b8432446fca403c92e0a06 (patch)
tree2a267a037fb2339f62e8deb21a1eb7cc0acb66e3 /make.h
parentb134da55059775759b6e2d1ab8d6425033c3834a (diff)
downloadgunmake-27255c5b51c25f0256b8432446fca403c92e0a06.tar.gz
* Large file support for AIX, HP-UX, and IRIX.
* W32 support for Cygnus Cygwin shell (bash).
Diffstat (limited to 'make.h')
-rw-r--r--make.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/make.h b/make.h
index a50334f..73935e9 100644
--- a/make.h
+++ b/make.h
@@ -77,8 +77,8 @@ Boston, MA 02111-1307, USA. */
extern int errno;
#endif
-/* A shortcut for EINTR checking. Note you should never negate this! That
- very likely doesn't mean what you want if EINTR is not available. */
+/* A shortcut for EINTR checking. Note you should be careful when negating
+ this! That might not mean what you want if EINTR is not available. */
#ifdef EINTR
# define EINTR_SET (errno == EINTR)
#else
@@ -171,6 +171,10 @@ extern unsigned int get_path_max PARAMS ((void));
(! INTEGER_TYPE_SIGNED (t) ? (t) 0 : ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1))
#define INTEGER_TYPE_MAXIMUM(t) (~ (t) 0 - INTEGER_TYPE_MINIMUM (t))
+#ifndef CHAR_MAX
+# define CHAR_MAX INTEGER_TYPE_MAXIMUM (char)
+#endif
+
#ifdef STAT_MACROS_BROKEN
# ifdef S_ISREG
# undef S_ISREG