summaryrefslogtreecommitdiff
path: root/eax.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2009-03-13 11:15:21 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2009-03-13 11:15:21 +0000
commit1c7bd8499b4eb0f5d0362661c86d9412f7c1bafc (patch)
treeb4cbd949b59bbf44f8e627d3b91c3556754b9d06 /eax.h
parent5411864299d2db1c7640dd03ab55d158db1e20e1 (diff)
downloadcryptopp-1c7bd8499b4eb0f5d0362661c86d9412f7c1bafc.tar.gz
fix compile on OpenSolaris 8.11
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@450 57ff6487-cd31-0410-9ec3-f628ee90f5f0
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 eeacd4c..e78401e 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>