Restored somehow lost AMD Family 11h support.
[libfirm] / ir / libcore / lc_config.h
index 3cb6bb6..1842ca3 100644 (file)
  * @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    "<unknown>"
 #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 "<unknown>"
 #define LC_UNUSED(x)
 #define LC_LONGLONG long