diff options
Diffstat (limited to 'fitz/fitz.h')
-rw-r--r-- | fitz/fitz.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fitz/fitz.h b/fitz/fitz.h index dd9424a9..b4e7cee4 100644 --- a/fitz/fitz.h +++ b/fitz/fitz.h @@ -121,6 +121,11 @@ int gettimeofday(struct timeval *tv, struct timezone *tz); #endif /* + Shut the compiler up about unused variables +*/ +#define UNUSED(x) do { x = x; } while (0) + +/* Some standard math functions, done as static inlines for speed. People with compilers that do not adequately implement inlines may like to reimplement these using macros. |