Commit cd548fa4 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix the definition of 'assume' for GCC older than 4.5.

 src/conf_post.h (__has_builtin): Define to zero, if undefined, on
 all platforms, not just for clang.
parent 8762e524
2013-09-23 Eli Zaretskii <eliz@gnu.org>
* conf_post.h (__has_builtin): Define to zero, if undefined, on
all platforms, not just for clang.
2013-09-23 Jan Djärv <jan.h.d@swipnet.se>
* filelock.c (lock_file_1): Rearrange to remove compiler warning
......
......@@ -248,10 +248,8 @@ extern void _DebPrint (const char *fmt, ...);
# define FLEXIBLE_ARRAY_MEMBER 1
#endif
#ifdef __clang__
# ifndef __has_builtin
# define __has_builtin(x) 0
# endif
#ifndef __has_builtin
# define __has_builtin(x) 0
#endif
/* assume(cond) tells the compiler (and lint) that a certain condition
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment