summaryrefslogtreecommitdiff
path: root/make.h
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>1999-08-01 08:12:06 +0000
committerPaul Smith <psmith@gnu.org>1999-08-01 08:12:06 +0000
commite34540f79be9c915ce1d6191575267066370f6ec (patch)
tree8418cbb560875512845504a0bd504db81cf4232e /make.h
parent09f1e4cf83853e3636a19da17e28e7291aac9bbd (diff)
downloadgunmake-e34540f79be9c915ce1d6191575267066370f6ec.tar.gz
* Release 3.77.92.3.77.92
* Complete implementation of new jobserver algorithm. * A few minor fixups.
Diffstat (limited to 'make.h')
-rw-r--r--make.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/make.h b/make.h
index 0496ce7..26eaec9 100644
--- a/make.h
+++ b/make.h
@@ -77,6 +77,14 @@ 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. */
+#ifdef EINTR
+# define EINTR_SET (errno == EINTR)
+#else
+# define EINTR_SET (0)
+#endif
+
#ifndef isblank
# define isblank(c) ((c) == ' ' || (c) == '\t')
#endif