summaryrefslogtreecommitdiff
path: root/test.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-08-27 14:44:27 -0400
committerJeffrey Walton <noloader@gmail.com>2019-08-27 14:44:27 -0400
commit033f204a869972d26b0c2e32b732d8e2834dbfaf (patch)
treed6360d3bbac24f76553fff8e683d9c50ed4e2749 /test.cpp
parentb067d16e8886109df5a6abdd153c3dfd8eebbf7e (diff)
downloadcryptopp-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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.cpp b/test.cpp
index 7a483f6a..be72405e 100644
--- a/test.cpp
+++ b/test.cpp
@@ -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)