aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/buildh.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/build-data/buildh.in')
-rw-r--r--src/build-data/buildh.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in
index 5b524a745..040e92692 100644
--- a/src/build-data/buildh.in
+++ b/src/build-data/buildh.in
@@ -77,15 +77,15 @@
#if !defined(BOTAN_NO_DEPRECATED_WARNINGS)
#if defined(__clang__)
- #define BOTAN_DEPRECATED(msg) __attribute__ ((deprecated(why)))
+ #define BOTAN_DEPRECATED(msg) __attribute__ ((deprecated(msg)))
#elif defined(_MSC_VER)
- #define BOTAN_DEPRECATED(msg) __declspec(deprecated(why))
+ #define BOTAN_DEPRECATED(msg) __declspec(deprecated(msg))
#elif defined(__GNUG__)
#if BOTAN_GCC_VERSION >= 450
- #define BOTAN_DEPRECATED(msg) __attribute__ ((deprecated(why)))
+ #define BOTAN_DEPRECATED(msg) __attribute__ ((deprecated(msg)))
#else
#define BOTAN_DEPRECATED(msg) __attribute__ ((deprecated))
#endif