X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=compiler%2Fcompiler.h;h=c1923ddd8e6019025d631f6d2ba4a648e7c8a469;hp=0a08bb12a238703ed252b62c451beac6406f695e;hb=3b2e1464ae58caf42c74ab4bdeaa5eae7c38a23f;hpb=2afd826bf6cd19900aee70ae14ede92d91b6f4c0 diff --git a/compiler/compiler.h b/compiler/compiler.h index 0a08bb12..c1923ddd 100644 --- a/compiler/compiler.h +++ b/compiler/compiler.h @@ -15,6 +15,8 @@ #define uninitialized_var(x) x = x +#ifndef __weak #define __weak __attribute__((weak)) +#endif #endif