X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Flibcore%2Flc_common_t.h;h=0c910b145094d4562033b8e8657c957c662795e0;hb=bdc59608633f59b0541a04883c24d19b1bc0ffae;hp=065cf572c7b7d6208991afebb3fc0ea1da365cba;hpb=de1b0c8d4f653f534a38740ad7f6803d82f2762e;p=libfirm diff --git a/ir/libcore/lc_common_t.h b/ir/libcore/lc_common_t.h index 065cf572c..0c910b145 100644 --- a/ir/libcore/lc_common_t.h +++ b/ir/libcore/lc_common_t.h @@ -29,16 +29,12 @@ #define bcopy(src,dest,n) memcpy(dest,src,n) -#include +#include "lc_config.h" #define FUNCNAME LC_FUNCNAME #define UNUSED(x) LC_UNUSED(x) #define LONGLONG long /* LC_LONGLONG */ -#define LONGDOUBLE double /* LC_LONGDOUBLE */ - -#ifdef LC_HAVE_C99 -#define HAVE_C99 LC_HAVE_C99 -#else /* LC_HAVE_C99 */ +#define LONGDOUBLE double /* LC_LONGDOUBLE */ #ifdef _WIN32 /* Windows names for non-POSIX calls */ @@ -46,13 +42,4 @@ #define vsnprintf _vsnprintf #endif /* WIN32 */ -/* These both are not posix or ansi c but almost everywhere existent */ - -/* Daniel: Why not just include stdio.h? -extern int snprintf(char *buf, size_t size, const char *fmt, ...); -extern int vsnprintf(char *buf, size_t size, const char *fmt, va_list args); -*/ - -#endif /* LC_HAVE_C99 */ - #endif /* _COMMON_T_H */