try to deal with some famec compiler issues

This commit is contained in:
notaz 2013-12-07 02:03:38 +02:00
parent 0fd6751db8
commit 21299f18ad
2 changed files with 13 additions and 2 deletions

View file

@ -35,7 +35,17 @@
#define PICODRIVE_HACK
// Options //
#ifndef FAMEC_NO_GOTOS
// computed gotos is a GNU extension
#ifndef __GNUC__
#define FAMEC_NO_GOTOS
#endif
// as of 3.3, clang takes over 3h to compile this in computed goto mode..
#ifdef __clang__
#define FAMEC_NO_GOTOS
#endif
#endif
#undef INLINE
#ifdef _MSC_VER
#define INLINE