diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2018-10-01 21:44:53 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2018-10-01 21:44:53 +0300 |
commit | 43acbfb0d399a7506771615884126dd2a791f7e4 (patch) | |
tree | f7fe5bd802aa567f8680a123d25b8aa8f2a71980 /custom.h | |
parent | 87d56a23a4da53be611103ba0d7b4960e4ff5fa7 (diff) | |
parent | 6bbb883964d2e26b6d62c7b434be20c6a9a7615e (diff) | |
download | egawk-43acbfb0d399a7506771615884126dd2a791f7e4.tar.gz egawk-43acbfb0d399a7506771615884126dd2a791f7e4.tar.bz2 egawk-43acbfb0d399a7506771615884126dd2a791f7e4.zip |
Merge branch 'master' into feature/fix-comments
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 |