summaryrefslogtreecommitdiff
path: root/ec2n.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2020-08-07 19:11:47 -0400
committerJeffrey Walton <noloader@gmail.com>2020-08-07 19:11:47 -0400
commit2c6e4b17d7a75a9cc9fe9ffd353981591de2be54 (patch)
tree5e7b46fd94bea76704951f150664c5dd1c730d28 /ec2n.cpp
parent7d0859d9dbfb394e4314e538567516e011db60cc (diff)
downloadcryptopp-git-2c6e4b17d7a75a9cc9fe9ffd353981591de2be54.tar.gz
Use define CRYPTOPP_CXX11_STATIC_INIT name
Diffstat (limited to 'ec2n.cpp')
-rw-r--r--ec2n.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ec2n.cpp b/ec2n.cpp
index e58869ba..87aed853 100644
--- a/ec2n.cpp
+++ b/ec2n.cpp
@@ -198,7 +198,7 @@ const EC2N::Point& EC2N::Identity() const
{
#if defined(HAVE_GCC_INIT_PRIORITY) || defined(HAVE_MSC_INIT_PRIORITY) || defined(HAVE_XLC_INIT_PRIORITY)
return g_identity;
-#elif defined(CRYPTOPP_CXX11_DYNAMIC_INIT)
+#elif defined(CRYPTOPP_CXX11_STATIC_INIT)
static const EC2N::Point g_identity;
return g_identity;
#else