diff options
Diffstat (limited to 'bindings/linux/setjmp.h')
-rw-r--r-- | bindings/linux/setjmp.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/bindings/linux/setjmp.h b/bindings/linux/setjmp.h deleted file mode 100644 index c4716e6..0000000 --- a/bindings/linux/setjmp.h +++ /dev/null @@ -1,13 +0,0 @@ -/* - * upb - a minimalist implementation of protocol buffers. - * - * Copyright (c) 2012 Google Inc. See LICENSE for details. - * Author: Josh Haberman <jhaberman@gmail.com> - */ - -// Linux doesn't provide setjmp/longjmp, boo. - -typedef void *jmp_buf[8]; - -extern int _setjmp(jmp_buf env); -__attribute__((__noreturn__)) extern void _longjmp(jmp_buf env, int val); |