summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2020-04-27 22:08:35 -0700
committerMichael Dickens <michael.dickens@ettus.com>2020-04-28 17:23:10 -0400
commit5808314010d533690c7c20c81d7062396e0110f5 (patch)
treea84548d3bf587f2f934faf9209a8ce874444b871
parent63c3e626d163578c71d9d2fc685ca2172742e359 (diff)
runtime: attributes: Remove check for gcc 3
gcc 4 has been a requirement for many years now, so we can remove the check for gcc 3.
-rw-r--r--gnuradio-runtime/include/gnuradio/attributes.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gnuradio-runtime/include/gnuradio/attributes.h b/gnuradio-runtime/include/gnuradio/attributes.h
index a29e4abac3..60aeb116f6 100644
--- a/gnuradio-runtime/include/gnuradio/attributes.h
+++ b/gnuradio-runtime/include/gnuradio/attributes.h
@@ -28,13 +28,8 @@
#define __GR_ATTR_UNUSED __attribute__((unused))
#define __GR_ATTR_INLINE __attribute__((always_inline))
#define __GR_ATTR_DEPRECATED __attribute__((deprecated))
-#if __GNUC__ >= 4
#define __GR_ATTR_EXPORT __attribute__((visibility("default")))
#define __GR_ATTR_IMPORT __attribute__((visibility("default")))
-#else
-#define __GR_ATTR_EXPORT
-#define __GR_ATTR_IMPORT
-#endif
#elif _MSC_VER
#define __GR_ATTR_ALIGNED(x) __declspec(align(x))
#define __GR_ATTR_UNUSED