From: Matthias Braun Date: Wed, 7 Jul 2010 08:16:57 +0000 (+0000) Subject: use "" include path inside the project X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=2f572ce184ecf1bb79ca47ee6fb3080e52e481eb;p=libfirm use "" include path inside the project [r27707] --- diff --git a/ir/libcore/lc_common_t.h b/ir/libcore/lc_common_t.h index 065cf572c..33617f4be 100644 --- a/ir/libcore/lc_common_t.h +++ b/ir/libcore/lc_common_t.h @@ -29,12 +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 */ +#define LONGDOUBLE double /* LC_LONGDOUBLE */ #ifdef LC_HAVE_C99 #define HAVE_C99 LC_HAVE_C99 diff --git a/ir/libcore/lc_opts.h b/ir/libcore/lc_opts.h index 671d7bf12..13b6ca141 100644 --- a/ir/libcore/lc_opts.h +++ b/ir/libcore/lc_opts.h @@ -28,7 +28,7 @@ #include -#include +#include "lc_printf.h" /** * The type of an option. diff --git a/ir/libcore/lc_opts_enum.h b/ir/libcore/lc_opts_enum.h index 0fb3d6791..dabd2dc19 100644 --- a/ir/libcore/lc_opts_enum.h +++ b/ir/libcore/lc_opts_enum.h @@ -23,7 +23,7 @@ #ifndef _LC_OPTS_ENUM_T #define _LC_OPTS_ENUM_T -#include +#include "lc_opts.h" #define _LC_OPT_DECL_ENUM(T, N) \ typedef struct { \ diff --git a/ir/libcore/lc_printf.h b/ir/libcore/lc_printf.h index 621f2ba5c..dd9d1c0e4 100644 --- a/ir/libcore/lc_printf.h +++ b/ir/libcore/lc_printf.h @@ -28,18 +28,14 @@ #ifndef _LIBCORE_XPRINTF_H #define _LIBCORE_XPRINTF_H -#ifdef __cplusplus -extern "C" { -#endif - #include #include #include #include -#include -#include +#include "lc_config.h" +#include "lc_appendable.h" typedef struct _lc_arg_occ_t { int width; /**< The width, or 0 if not given. */ @@ -122,9 +118,4 @@ int lc_vsnprintf(char *buf, size_t len, const char *fmt, va_list args); int lc_vfprintf(FILE *f, const char *fmt, va_list args); int lc_voprintf(struct obstack *obst, const char *fmt, va_list args); -#ifdef __cplusplus -} #endif - - -#endif /* _LIBCORE_XPRINTF_H */