summaryrefslogtreecommitdiff
path: root/pkcspad.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 /pkcspad.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 'pkcspad.cpp')
-rw-r--r--pkcspad.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkcspad.cpp b/pkcspad.cpp
index d90e4ab..7cee9b9 100644
--- a/pkcspad.cpp
+++ b/pkcspad.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_PKCSPAD_CPP // SunCC workaround: compiler could cause this file to be included twice
+#define CRYPTOPP_PKCSPAD_CPP
#include "pkcspad.h"
#include <assert.h>