topz-DocReSync.patch

This commit is contained in:
albert
2002-12-02 21:05:22 +00:00
parent 4e039d44be
commit 538f249009
2 changed files with 9 additions and 3 deletions

View File

@ -21,11 +21,16 @@
#endif
#endif
// won't alias anything, and aligned enough for anything
#if __GNUC__ > 2 || __GNUC_MINOR__ >= 96
// won't alias anything, and aligned enough for anything
#define MALLOC __attribute__ ((__malloc__))
// tell gcc what to expect: if(unlikely(err)) die(err);
#define likely(x) __builtin_expect((x),1)
#define unlikely(x) __builtin_expect((x),0)
#else
#define MALLOC
#define likely(x) (x)
#define unlikely(x) (x)
#endif