* lib/safe-alloc.h (__GNUC_PREREQ): Remove macro.
+2020-08-06 Bruno Haible <bruno@clisp.org>
+
+ safe-alloc: Remove unused code.
+ * lib/safe-alloc.h (__GNUC_PREREQ): Remove macro.
+
2020-08-06 Bruno Haible <bruno@clisp.org>
Use __builtin_expect with clang everywhere.
# include <stdlib.h>
-#ifndef __GNUC_PREREQ
-# if defined __GNUC__ && defined __GNUC_MINOR__
-# define __GNUC_PREREQ(maj, min) \
- ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min))
-# else
-# define __GNUC_PREREQ(maj, min) 0
-# endif
-#endif
-
/* Don't call these directly - use the macros below */
int
safe_alloc_alloc_n (void *ptrptr, size_t size, size_t count, int zeroed)