summaryrefslogtreecommitdiff
path: root/eax.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2009-03-13 11:15:21 +0000
committerweidai <weidai11@users.noreply.github.com>2009-03-13 11:15:21 +0000
commit3202bf2809a8fd86e753d94554673da72cf269ad (patch)
treeb4cbd949b59bbf44f8e627d3b91c3556754b9d06 /eax.h
parent393a5eac05d04715e10134ae8d01fffca5e30fdc (diff)
downloadcryptopp-git-3202bf2809a8fd86e753d94554673da72cf269ad.tar.gz
fix compile on OpenSolaris 8.11
Diffstat (limited to 'eax.h')
-rw-r--r--eax.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/eax.h b/eax.h
index eeacd4c9..e78401e4 100644
--- a/eax.h
+++ b/eax.h
@@ -72,7 +72,11 @@ public:
private:
CMAC_Base & AccessMAC() {return m_cmac;}
CMAC<T_BlockCipher> m_cmac;
-};
+};
+
+#ifdef EAX // EAX is defined to 11 on GCC 3.4.3, OpenSolaris 8.11
+#undef EAX
+#endif
/// <a href="http://www.cryptolounge.org/wiki/EAX">EAX</a>
template <class T_BlockCipher>