summaryrefslogtreecommitdiffstats
path: root/includes/sys
diff options
context:
space:
mode:
authorStan Cox <scox@redhat.com>2010-03-10 16:52:37 -0500
committerStan Cox <scox@redhat.com>2010-03-10 16:52:37 -0500
commit03a7462675d416a00e43ba64af0505039efe8852 (patch)
treef81abef7bcfde59c20aa058f0a51838d9681ea75 /includes/sys
parentb46393fcb426e43a1e9e8847a8671ea0c1508e10 (diff)
downloadsystemtap-steved-03a7462675d416a00e43ba64af0505039efe8852.tar.gz
systemtap-steved-03a7462675d416a00e43ba64af0505039efe8852.tar.xz
systemtap-steved-03a7462675d416a00e43ba64af0505039efe8852.zip
Be pessimistic about the gcc version as debuginfo has an undependable case (RH572260).
* sdt.h (GNUC_VERSION): Check against gcc 4.5.0
Diffstat (limited to 'includes/sys')
-rw-r--r--includes/sys/sdt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/sys/sdt.h b/includes/sys/sdt.h
index ed4b4af6..6ef961f2 100644
--- a/includes/sys/sdt.h
+++ b/includes/sys/sdt.h
@@ -86,7 +86,7 @@
#ifndef STAP_SDT_VOLATILE /* allow users to override */
#define GNUC_VERSION (__GNUC__ * 1000000 + __GNUC_MINOR__ * 10000 + __GNUC_PATCHLEVEL__ * 100 + __GNUC_RH_RELEASE__)
-#if GNUC_VERSION >= 4040400
+#if GNUC_VERSION >= 4050000
#define STAP_SDT_VOLATILE
#else
#define STAP_SDT_VOLATILE volatile