summaryrefslogtreecommitdiff
path: root/stdcpp.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2010-07-05 01:15:14 +0000
committerweidai <weidai11@users.noreply.github.com>2010-07-05 01:15:14 +0000
commit1315a7bc9a32e86db2ae4aa7cefcfec5b2f4e3ab (patch)
treebdfe463fd8b180c37b65007e19a29aa915fff3b3 /stdcpp.h
parent954fed3d5d6edb2639d5e093b0529b589ac31120 (diff)
downloadcryptopp-git-1315a7bc9a32e86db2ae4aa7cefcfec5b2f4e3ab.tar.gz
port to Sun Studio 12u1 Sun C++ 5.10 SunOS_i386 128229-02 2009/09/21
change makefile to compile for both i386 and x86_64 on Darwin/Mac OS X
Diffstat (limited to 'stdcpp.h')
-rw-r--r--stdcpp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/stdcpp.h b/stdcpp.h
index 234bf549..d4438841 100644
--- a/stdcpp.h
+++ b/stdcpp.h
@@ -14,6 +14,11 @@
#include <map>
#include <vector>
+#ifdef __SUNPRO_CC
+// workaround needed on Sun Studio 12u1 Sun C++ 5.10 SunOS_i386 128229-02 2009/09/21
+#include <vector.cc>
+#endif
+
// for alloca
#ifdef __sun
#include <alloca.h>