various bugfixes

This commit is contained in:
Joel Dice
2007-06-20 15:27:22 -06:00
parent 4e07acb26c
commit 91b9dc7382
8 changed files with 70 additions and 35 deletions

View File

@ -8,8 +8,9 @@
#include "stdio.h"
#define NO_RETURN __attribute__((noreturn))
#define LIKELY(v) __builtin_expect((v) != 0, true)
#define UNLIKELY(v) __builtin_expect((v) == 0, true)
#define UNLIKELY(v) __builtin_expect((v) != 0, false)
#define MACRO_XY(X, Y) X##Y
#define MACRO_MakeNameXY(FX, LINE) MACRO_XY(FX, LINE)