Commit 6116139f authored by Christian Dietrich's avatar Christian Dietrich

extractor: compile bugfix

The extractor did not build under posix AND osek-v, since the headers,
which come with risc-v are weird.

Change-Id: I43be143492954487a4cbe0d2a206a69b75d206b6
parent 26acd9bf
......@@ -15,18 +15,21 @@
#define llvm33 (LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR == 3)
#define llvm34 (LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR == 4)
#include "dosek_config.h"
#ifdef CONFIG_ARCH_OSEK_V
#ifndef __CLANG_MAX_ALIGN_T_DEFINED
#if __STDC_VERSION__ >= 201112L || __cplusplus >= 201103L
typedef struct {
long long __clang_max_align_nonce1
__attribute__((__aligned__(__alignof__(long long))));
__attribute__((__aligned__(__alignof__(long long))));
long double __clang_max_align_nonce2
__attribute__((__aligned__(__alignof__(long double))));
} max_align_t;
} max_align_t;
#define __CLANG_MAX_ALIGN_T_DEFINED
#endif
#endif
#endif
//3.6 #include <llvm/Linker/Linker.h>
//3.6 #include <llvm/IR/Verifier.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment