diff options
Diffstat (limited to 'custom.h')
-rw-r--r-- | custom.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -53,6 +53,13 @@ #endif #endif +/* This keeps regex happy on non-GCC compilers */ +#ifndef __GNUC__ +#ifndef __builtin_expect +#define __builtin_expect(expr, val) (expr) +#endif +#endif + /* For QNX, based on submission from Michael Hunter, mphunter@qnx.com */ #ifdef __QNX__ #define GETPGRP_VOID 1 |