|
@@ -421,8 +421,12 @@ uClibc was built without large file support enabled.
|
|
#if __GNUC__ == 2 && __GNUC_MINOR__ < 96
|
|
#if __GNUC__ == 2 && __GNUC_MINOR__ < 96
|
|
#define __builtin_expect(x, expected_value) (x)
|
|
#define __builtin_expect(x, expected_value) (x)
|
|
#endif
|
|
#endif
|
|
-#define likely(x) __builtin_expect((!!(x)),1)
|
|
+#ifndef likely
|
|
-#define unlikely(x) __builtin_expect((!!(x)),0)
|
|
+# define likely(x) __builtin_expect((!!(x)),1)
|
|
|
|
+#endif
|
|
|
|
+#ifndef unlikely
|
|
|
|
+# define unlikely(x) __builtin_expect((!!(x)),0)
|
|
|
|
+#endif
|
|
|
|
|
|
/* --- this is added to integrate linuxthreads */
|
|
/* --- this is added to integrate linuxthreads */
|
|
#define __USE_UNIX98 1
|
|
#define __USE_UNIX98 1
|