projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fio 2.0.12.2
[fio.git]
/
compiler
/
compiler.h
diff --git
a/compiler/compiler.h
b/compiler/compiler.h
index 1a0556bd3a0808c1c54bec23b85fd5e10cd22abc..8923f9a6235190d0837505c1852363fdf3fd6162 100644
(file)
--- a/
compiler/compiler.h
+++ b/
compiler/compiler.h
@@
-13,6
+13,12
@@
#define __must_check
#endif
-#define uninitialized_var(x) x = x
+#ifndef _weak
+#ifndef __CYGWIN__
+#define _weak __attribute__((weak))
+#else
+#define _weak
+#endif
+#endif
#endif