diff options
| author | Jeffrey Walton <noloader@gmail.com> | 2017-08-16 05:11:37 -0400 |
|---|---|---|
| committer | Jeffrey Walton <noloader@gmail.com> | 2017-08-16 05:11:37 -0400 |
| commit | c5c6a6af5ca4bcbcbcd84c995ad5b65828b46eab (patch) | |
| tree | 24d42923b82047e42762ec9d3813f5c8af43135d /config.h | |
| parent | 08c37e5887fdcce729d2486857f8825151b81c82 (diff) | |
| download | cryptopp-git-c5c6a6af5ca4bcbcbcd84c995ad5b65828b46eab.tar.gz | |
Fix Doxygen constant documentation
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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
|
