From b6b89abbdb9c0c53d47b2edd891489a6748a729e Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Mon, 29 Jan 2007 14:33:27 +0000 Subject: - see if defined foo before trying to look at the value of foo (that should be 0 in this case. Avoids some warnings). --- ldso/include/ldso.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ldso/include') diff --git a/ldso/include/ldso.h b/ldso/include/ldso.h index 47b2fb513..40ac12a57 100644 --- a/ldso/include/ldso.h +++ b/ldso/include/ldso.h @@ -11,7 +11,7 @@ #include /* Prepare for the case that `__builtin_expect' is not available. */ -#if __GNUC__ == 2 && __GNUC_MINOR__ < 96 +#if defined __GNUC__ && __GNUC__ == 2 && __GNUC_MINOR__ < 96 #define __builtin_expect(x, expected_value) (x) #endif #ifndef likely -- cgit v1.2.3