summaryrefslogtreecommitdiff
path: root/dll.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-06-08 02:12:20 -0400
committerJeffrey Walton <noloader@gmail.com>2015-06-08 02:12:20 -0400
commite4fd39589a2d37bd959ddf78002c3dcb7671e2c2 (patch)
tree36ca5e8d2c5ce6bd914b721aaefde007245bf018 /dll.cpp
parent989f98c1a009fc14f024bb1d67c55486b9bfe220 (diff)
downloadcryptopp-git-e4fd39589a2d37bd959ddf78002c3dcb7671e2c2.tar.gz
Cleared GCC/Clang waning on unknown pragma
Diffstat (limited to 'dll.cpp')
-rw-r--r--dll.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/dll.cpp b/dll.cpp
index 2b4ef7ad..fadfe6a5 100644
--- a/dll.cpp
+++ b/dll.cpp
@@ -4,7 +4,10 @@
#define CRYPTOPP_DEFAULT_NO_DLL
#include "dll.h"
-#pragma warning(default: 4660)
+
+#ifdef _MSC_VER
+# pragma warning(default: 4660)
+#endif
#if defined(CRYPTOPP_EXPORTS) && defined(CRYPTOPP_WIN32_AVAILABLE)
#include <windows.h>