aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-11-03 16:00:04 +0000
committerlloyd <[email protected]>2010-11-03 16:00:04 +0000
commit838f86c99cdcdf20b3ec01d66f0df38c947fff5d (patch)
tree1c1263c121782016f9ad323a5135877fa951acf8
parent58d00cd6517adba290510bac0d8f240f033095cb (diff)
Fix macros
-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