summaryrefslogtreecommitdiff
path: root/pkcspad.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 /pkcspad.cpp
parentdf3d51172b0dc22ea1fdbda33fbecf51b4119c19 (diff)
downloadcryptopp-git-00c10ca01835ce1676dfb0c3eb90c035389935e3.tar.gz
fix SunCC compile
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 d90e4aba..7cee9b95 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>