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

This commit is contained in:
Tom Henderson
2009-12-03 23:02:21 -08:00
parent 1ec9d83ba8
commit ef4e408690

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