summaryrefslogtreecommitdiff
path: root/proc/procps.h
diff options
context:
space:
mode:
Diffstat (limited to 'proc/procps.h')
-rw-r--r--proc/procps.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/proc/procps.h b/proc/procps.h
index 4c6866e..abbab98 100644
--- a/proc/procps.h
+++ b/proc/procps.h
@@ -71,8 +71,10 @@
#define expected(x,y) (x)
#endif
-#if SHARED==1 && (__GNUC__ > 2 || __GNUC_MINOR__ >= 96)
-#define LABEL_OFFSET
+#ifdef SHARED
+# if SHARED==1 && (__GNUC__ > 2 || __GNUC_MINOR__ >= 96)
+# define LABEL_OFFSET
+# endif
#endif
#define STRINGIFY_ARG(a) #a