diff options
author | weidai <weidai11@users.noreply.github.com> | 2007-09-15 02:38:57 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2007-09-15 02:38:57 +0000 |
commit | 2f8e40cb4be4ed9cac59706082f79fc345d42b5e (patch) | |
tree | 1e00da0bd4706ff55aeff43c2891343c1dc545bf /fipstest.cpp | |
parent | 8e944f75d525a57b72cc5a64699ecba7903732aa (diff) | |
download | cryptopp-git-2f8e40cb4be4ed9cac59706082f79fc345d42b5e.tar.gz |
fix compile with fix compile for for STLport 5.1.3 and MSVC 2005
Diffstat (limited to 'fipstest.cpp')
-rw-r--r-- | fipstest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fipstest.cpp b/fipstest.cpp index 01ab761b..3298a400 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) { |