aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_bithelpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/mhd_bithelpers.h')
-rw-r--r--src/microhttpd/mhd_bithelpers.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/microhttpd/mhd_bithelpers.h b/src/microhttpd/mhd_bithelpers.h
index ed0c2e0c..eddd67f0 100644
--- a/src/microhttpd/mhd_bithelpers.h
+++ b/src/microhttpd/mhd_bithelpers.h
@@ -42,6 +42,7 @@
42#ifndef __has_builtin 42#ifndef __has_builtin
43/* Avoid precompiler errors with non-clang */ 43/* Avoid precompiler errors with non-clang */
44# define __has_builtin(x) 0 44# define __has_builtin(x) 0
45# define _MHD_has_builtin_dummy 1
45#endif 46#endif
46 47
47 48
@@ -328,5 +329,10 @@ _MHD_ROTL32 (uint32_t value32, int bits)
328 329
329#endif /* ! __builtin_rotateleft32 */ 330#endif /* ! __builtin_rotateleft32 */
330 331
332#ifdef _MHD_has_builtin_dummy
333/* Remove macro function replacement to avoid misdetection in files which
334 * include this header */
335# undef __has_builtin
336#endif
331 337
332#endif /* ! MHD_BITHELPERS_H */ 338#endif /* ! MHD_BITHELPERS_H */