diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-01-29 14:33:27 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-01-29 14:33:27 +0000 |
commit | b6b89abbdb9c0c53d47b2edd891489a6748a729e (patch) | |
tree | 9914a8d42c0ecc4e03acd18c1188ea290c261646 /ldso | |
parent | 3b44ff3cbc0002cfde1a4699918f6c54cdbe03bf (diff) |
- see if defined foo before trying to look at the value of foo (that should be 0 in this case. Avoids some warnings).
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/include/ldso.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 <features.h> /* 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 |