From fe45679c2658dd76274684b47ec3cc64439d0d34 Mon Sep 17 00:00:00 2001 From: weidai Date: Thu, 21 Dec 2006 18:02:23 +0000 Subject: fix SunCC compile git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@268 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- algebra.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'algebra.cpp') 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" -- cgit v1.2.1