summaryrefslogtreecommitdiff
path: root/algebra.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2006-12-21 18:02:23 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2006-12-21 18:02:23 +0000
commitfe45679c2658dd76274684b47ec3cc64439d0d34 (patch)
tree4f118bf7245df6969626ceb16d1f6e6e4287a1ec /algebra.cpp
parent7dca639c5ba04d8be065ba8716132f34b623bd46 (diff)
downloadcryptopp-fe45679c2658dd76274684b47ec3cc64439d0d34.tar.gz
fix SunCC compile
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@268 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'algebra.cpp')
-rw-r--r--algebra.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/algebra.cpp b/algebra.cpp
index 758939e..78c3947 100644
--- a/algebra.cpp
+++ b/algebra.cpp
@@ -2,8 +2,8 @@
#include "pch.h"
-// prevent Sun's CC compiler from including this file automatically
-#if !defined(__SUNPRO_CC) || defined(CRYPTOPP_MANUALLY_INSTANTIATE_TEMPLATES)
+#ifndef CRYPTOPP_ALGEBRA_CPP // SunCC workaround: compiler could cause this file to be included twice
+#define CRYPTOPP_ALGEBRA_CPP
#include "algebra.h"
#include "integer.h"