summaryrefslogtreecommitdiff
path: root/test.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-07-11 19:46:28 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-07-11 19:46:28 +0000
commit016d97e9eca4a17fd96d575f7b570029848423f7 (patch)
treead2be593c944d2acdd84b110074c0f9401b82aa1 /test.cpp
parentb4a86556710cc5933a2b67458f957eee2056fe18 (diff)
downloadcryptopp-016d97e9eca4a17fd96d575f7b570029848423f7.tar.gz
fix for Unix
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@93 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'test.cpp')
-rw-r--r--test.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/test.cpp b/test.cpp
index 39699e0..de7fdaf 100644
--- a/test.cpp
+++ b/test.cpp
@@ -85,10 +85,8 @@ int (*AdhocTest)(int argc, char *argv[]) = NULL;
#ifdef __BCPLUSPLUS__
int cmain(int argc, char *argv[])
-#elif defined(_MSC_VER)
-int __cdecl main(int argc, char *argv[])
#else
-int main(int argc, char *argv[])
+int CRYPTOPP_CDECL main(int argc, char *argv[])
#endif
{
#ifdef _CRTDBG_LEAK_CHECK_DF