summaryrefslogtreecommitdiff
path: root/chacha_avx.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-06-09 00:00:22 -0400
committerJeffrey Walton <noloader@gmail.com>2019-06-09 00:00:22 -0400
commit3ce1823fd190a8518c99882d22ca86e22a642650 (patch)
treed0a1a249570f5cc90a4e6a31980982667ade0423 /chacha_avx.cpp
parent6a11f00768c969a10c0d0f2048da3f69a18c728c (diff)
downloadcryptopp-git-3ce1823fd190a8518c99882d22ca86e22a642650.tar.gz
Fix SunCC compile
Sun's compiler is mostly braindead.
Diffstat (limited to 'chacha_avx.cpp')
-rw-r--r--chacha_avx.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/chacha_avx.cpp b/chacha_avx.cpp
index 72dc42c2..cdf50266 100644
--- a/chacha_avx.cpp
+++ b/chacha_avx.cpp
@@ -30,13 +30,6 @@
// Squash MS LNK4221 and libtool warnings
extern const char CHACHA_AVX_FNAME[] = __FILE__;
-// Sun Studio 12.4 OK, 12.5 and 12.6 compile error.
-#if (__SUNPRO_CC >= 0x5140) && (__SUNPRO_CC <= 0x5150)
-# define MAYBE_CONST
-#else
-# define MAYBE_CONST const
-#endif
-
// VS2017 and global optimization bug. TODO, figure out when
// we can re-enable full optimizations for VS2017. Also see
// https://github.com/weidai11/cryptopp/issues/649 and