summaryrefslogtreecommitdiff
path: root/src/internal/libc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/libc.h')
-rw-r--r--src/internal/libc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/internal/libc.h b/src/internal/libc.h
index 3d09bf6a..bbbb3a4c 100644
--- a/src/internal/libc.h
+++ b/src/internal/libc.h
@@ -44,7 +44,8 @@ void __lockfile(FILE *);
#define UNLOCK(x) (*(x)=0)
#define CANCELPT(x) (libc.cancelpt ? libc.cancelpt((x)),0 : (void)(x),0)
#define CANCELPT_BEGIN CANCELPT(1)
-#define CANCELPT_END CANCELPT(0)
+#define CANCELPT_TRY CANCELPT(0)
+#define CANCELPT_END CANCELPT(-1)
extern char **__environ;
#define environ __environ