diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2018-10-01 21:44:17 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2018-10-01 21:44:17 +0300 |
commit | 6bbb883964d2e26b6d62c7b434be20c6a9a7615e (patch) | |
tree | 7448b49cdc3d6a0c680e18cfaa0e563e0c5a6909 | |
parent | a6ee0988727f00f9b24dce5de9761cdc718f4b0a (diff) | |
parent | 92014ca462f99220d2238692764f230448e4dae9 (diff) | |
download | egawk-6bbb883964d2e26b6d62c7b434be20c6a9a7615e.tar.gz egawk-6bbb883964d2e26b6d62c7b434be20c6a9a7615e.tar.bz2 egawk-6bbb883964d2e26b6d62c7b434be20c6a9a7615e.zip |
Merge branch 'gawk-4.2-stable'
-rwxr-xr-x | ChangeLog | 4 | ||||
-rw-r--r-- | custom.h | 7 |
2 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2018-10-01 Nelson H.F. Beebe <beebe@math.utah.edu> + + * custom.h (__builtin_expect): Define for non-GNU compilers. + 2018-09-27 Andrew J. Schorr <aschorr@telemetry-investments.com> * mpfr.c (force_mpnum): Check that base is 10 also before @@ -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 |