summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-08-16 05:11:37 -0400
committerJeffrey Walton <noloader@gmail.com>2017-08-16 05:11:37 -0400
commitc5c6a6af5ca4bcbcbcd84c995ad5b65828b46eab (patch)
tree24d42923b82047e42762ec9d3813f5c8af43135d
parent08c37e5887fdcce729d2486857f8825151b81c82 (diff)
downloadcryptopp-git-c5c6a6af5ca4bcbcbcd84c995ad5b65828b46eab.tar.gz
Fix Doxygen constant documentation
-rw-r--r--config.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.h b/config.h
index 0cb20bb5..3176832c 100644
--- a/config.h
+++ b/config.h
@@ -535,7 +535,11 @@ NAMESPACE_END
//#else
//# define CRYPTOPP_CONSTANT(x) static const int x;
//#endif
-#define CRYPTOPP_CONSTANT(x) enum {x};
+#if defined(CRYPTOPP_DOXYGEN_PROCESSING)
+# define CRYPTOPP_CONSTANT(x) static const int x;
+#else
+# define CRYPTOPP_CONSTANT(x) enum {x};
+#endif
// Linux provides X32, which is 32-bit integers, longs and pointers on x86_64 using the full x86_64 register set.
// Detect via __ILP32__ (http://wiki.debian.org/X32Port). However, __ILP32__ shows up in more places than