Wno-error=deprecated-declarations not supported for gcc-4.1 or earlier

This commit is contained in:
Tom Henderson committed 2009-12-03 23:02:21 -08:00
1 parent fcb76c8937
commit d2b77c6d68
1 file changed
+1 -1
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef NS3_DEPRECATED_H
#define NS3_DEPRECATED_H
#ifdef __GNUC__
#if defined(__GNUC__) && (__GNUC__ == 4) && (__GNUC_MINOR__ > 1)
#define NS_DEPRECATED __attribute__ ((deprecated))
#else
#define NS_DEPRECATED