X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Flibcore%2Flc_config.h;h=1842ca3a02e8a8e72010e027af6210bce7b25c23;hb=225580e8d7eabc0488b2ac4437cd34ec65cc93d6;hp=3cb6bb6e86ae0346dcc4ad866ac75de5cf57d23b;hpb=de1b0c8d4f653f534a38740ad7f6803d82f2762e;p=libfirm diff --git a/ir/libcore/lc_config.h b/ir/libcore/lc_config.h index 3cb6bb6e8..1842ca3a0 100644 --- a/ir/libcore/lc_config.h +++ b/ir/libcore/lc_config.h @@ -23,26 +23,12 @@ * @author Sebastian Hack * @date 22.12.2004 */ - #ifndef _LC_CONFIG_H #define _LC_CONFIG_H -#if defined(__STD_VERSION__) && __STD_VERSION >= 199901L -#define LC_HAVE_C99 1 -#endif - -/* ISO C99 Standard stuff */ -#ifdef LC_HAVE_C99 -#define LC_INLINE inline -#define LC_FUNCNAME __func__ -#define LC_UNUSED(x) x -#define LC_LONGLONG long long -#define LC_LONGDOUBLE long double - -/* definitions using GCC */ -#elif defined(__GNUC__) +#if defined(__GNUC__) -#define LC_INLINE __inline__ +#define inline __inline__ #define LC_FUNCNAME __FUNCTION__ #define LC_UNUSED(x) x __attribute__((__unused__)) @@ -56,7 +42,6 @@ #elif defined(_MSC_VER) -#define LC_INLINE __inline #define LC_FUNCNAME "" #define LC_UNUSED(x) x #define LC_LONGLONG __int64 @@ -83,7 +68,7 @@ typedef unsigned __int64 uint64; /* default definitions */ #else /* defined(_MSC_VER) */ -#define LC_INLINE +#define inline #define LC_FUNCNAME "" #define LC_UNUSED(x) #define LC_LONGLONG long