From e30ccfaec941eb55141a4f848101e97a61ce4405 Mon Sep 17 00:00:00 2001 From: Juan Jose Garcia Ripoll Date: Tue, 2 Feb 2010 00:04:38 +0100 Subject: [PATCH] We are using __builtin_expect() which is not portable. Define a macro for non-GCC compilers. --- src/c/alloc_2.d | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/c/alloc_2.d b/src/c/alloc_2.d index 79e097781..957d48b1d 100755 --- a/src/c/alloc_2.d +++ b/src/c/alloc_2.d @@ -25,6 +25,10 @@ #include #endif +#ifndef __GCC__ +# define __builtin_expect(form,value) (form) +#endif + #ifdef GBC_BOEHM static void finalize_queued();