diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-08-27 14:44:27 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-08-27 14:44:27 -0400 |
commit | 033f204a869972d26b0c2e32b732d8e2834dbfaf (patch) | |
tree | d6360d3bbac24f76553fff8e683d9c50ed4e2749 /test.cpp | |
parent | b067d16e8886109df5a6abdd153c3dfd8eebbf7e (diff) | |
download | cryptopp-git-033f204a869972d26b0c2e32b732d8e2834dbfaf.tar.gz |
Fix .Net 2002 compile
This testing occurs on Windows XP. We are still rockin it
Diffstat (limited to 'test.cpp')
-rw-r--r-- | test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -507,7 +507,7 @@ void SetArgvPathHint(const char* argv0, std::string& pathHint) #if defined(AT_EXECFN)
if (getauxval(AT_EXECFN))
pathHint = getauxval(AT_EXECFN);
-#elif defined(_MSC_VER)
+#elif defined(_MSC_VER) && (_MSC_VER > 1310)
char* pgmptr = NULLPTR;
errno_t err = _get_pgmptr(&pgmptr);
if (err == 0 && pgmptr != NULLPTR)
|