X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=compiler%2Fcompiler.h;h=c1923ddd8e6019025d631f6d2ba4a648e7c8a469;hb=f57d6f943806727b70d3d15230dcac09b22fab1a;hp=1a0556bd3a0808c1c54bec23b85fd5e10cd22abc;hpb=f3f552b9920cc45c5b1f9c679f36b8ddb13927d0;p=fio.git diff --git a/compiler/compiler.h b/compiler/compiler.h index 1a0556bd..c1923ddd 100644 --- a/compiler/compiler.h +++ b/compiler/compiler.h @@ -15,4 +15,8 @@ #define uninitialized_var(x) x = x +#ifndef __weak +#define __weak __attribute__((weak)) +#endif + #endif