summaryrefslogtreecommitdiff
path: root/src/macro.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-16 03:07:53 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-16 03:07:53 +0200
commitad780f1991d81c8013cc345488b9a035bf30aae7 (patch)
tree1de5cbb89800a32833d42808403c54e99c04e5e7 /src/macro.h
parent949c6510326c8d62bfae9866ebfda9506d0eb755 (diff)
main: disable nscd if we can to avoid deadlock, just in case
Diffstat (limited to 'src/macro.h')
-rw-r--r--src/macro.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/macro.h b/src/macro.h
index 7bd57b3a8e..10a106bc19 100644
--- a/src/macro.h
+++ b/src/macro.h
@@ -40,6 +40,7 @@
#define _unlikely_(x) (__builtin_expect(!!(x),0))
#define _public_ __attribute__ ((visibility("default")))
#define _hidden_ __attribute__ ((visibility("hidden")))
+#define _weakref_(x) __attribute__((weakref(#x)))
/* Rounds up */
static inline size_t ALIGN(size_t l) {