blob: 8dec350b9f9eb4e1c495e5c7aa1174b60169cbd3 [file] [log] [blame]
#ifndef FIO_COMPILER_H
#define FIO_COMPILER_H
#if __GNUC__ >= 4
#include "compiler-gcc4.h"
#elif __GNUC__ == 3
#include "compiler-gcc3.h"
#else
#error Compiler too old, need gcc at least gcc 3.x
#endif
#ifndef __must_check
#define __must_check
#endif
#define uninitialized_var(x) x = x
#ifndef _weak
#ifndef __CYGWIN__
#define _weak __attribute__((weak))
#else
#define _weak
#endif
#endif
#endif