From f6c583203fbf3fc6094a6a5dcc30e6cfa62bd6e3 Mon Sep 17 00:00:00 2001 From: weidai Date: Sat, 15 Sep 2007 02:38:57 +0000 Subject: fix compile with fix compile for for STLport 5.1.3 and MSVC 2005 git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@394 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- fipstest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fipstest.cpp') diff --git a/fipstest.cpp b/fipstest.cpp index 01ab761..3298a40 100644 --- a/fipstest.cpp +++ b/fipstest.cpp @@ -279,7 +279,7 @@ bool IntegrityCheckModule(const char *moduleFilename, const byte *expectedModule char moduleFilenameBuf[MAX_PATH] = ""; if (moduleFilename == NULL) { -#if (defined(_MSC_VER) && _MSC_VER >= 1400) // ifstream doesn't support wide filename on other compilers +#if (_MSC_VER >= 1400 && !defined(_STLPORT_VERSION)) // ifstream doesn't support wide filename on other compilers wchar_t wideModuleFilename[MAX_PATH]; if (GetModuleFileNameW(s_hModule, wideModuleFilename, MAX_PATH) > 0) { -- cgit v1.2.1