summaryrefslogtreecommitdiff
path: root/algebra.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2006-12-21 18:02:23 +0000
committerweidai <weidai11@users.noreply.github.com>2006-12-21 18:02:23 +0000
commit00c10ca01835ce1676dfb0c3eb90c035389935e3 (patch)
tree4f118bf7245df6969626ceb16d1f6e6e4287a1ec /algebra.cpp
parentdf3d51172b0dc22ea1fdbda33fbecf51b4119c19 (diff)
downloadcryptopp-git-00c10ca01835ce1676dfb0c3eb90c035389935e3.tar.gz
fix SunCC compile
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 758939e6..78c3947b 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"