summaryrefslogtreecommitdiff
path: root/lib/rbcodec/rbcodecplatform-unix.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/rbcodecplatform-unix.h')
-rw-r--r--lib/rbcodec/rbcodecplatform-unix.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/rbcodec/rbcodecplatform-unix.h b/lib/rbcodec/rbcodecplatform-unix.h
index 4ed25f44e8..2df0a50221 100644
--- a/lib/rbcodec/rbcodecplatform-unix.h
+++ b/lib/rbcodec/rbcodecplatform-unix.h
@@ -64,6 +64,12 @@ off_t filesize(int fd);
64 putc('\n', stderr); \ 64 putc('\n', stderr); \
65 } while (0) 65 } while (0)
66#endif 66#endif
67#ifndef panicf
68#define panicf(...) do { fprintf(stderr, __VA_ARGS__); \
69 putc('\n', stderr); \
70 exit(-1); \
71 } while (0)
72#endif
67#endif 73#endif
68*/ 74*/
69 75