summaryrefslogtreecommitdiff
path: root/libs/libssh2
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-12-04 21:46:33 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-12-04 21:46:33 +0300
commit77142c2a851547b4e3fc6b86bb308a91adf32854 (patch)
treeaa6db052cc04ffd375e0d777d6355ec1bdec8793 /libs/libssh2
parent72d19ead542f6cf59847c4605de68471f8f978a8 (diff)
no need to patch libssh either
Diffstat (limited to 'libs/libssh2')
-rw-r--r--libs/libssh2/libssh2.vcxproj2
-rw-r--r--libs/libssh2/src/libssh2_priv.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/libs/libssh2/libssh2.vcxproj b/libs/libssh2/libssh2.vcxproj
index 6b7e038d2f..2eedb85e66 100644
--- a/libs/libssh2/libssh2.vcxproj
+++ b/libs/libssh2/libssh2.vcxproj
@@ -37,7 +37,7 @@
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
- <PreprocessorDefinitions>LIBSSH2_WIN32;LIBSSH2_LIBRARY;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <PreprocessorDefinitions>LIBSSH2_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<DisableSpecificWarnings>4244;4310;4702;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<AdditionalIncludeDirectories>$(ProjectDir).\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
diff --git a/libs/libssh2/src/libssh2_priv.h b/libs/libssh2/src/libssh2_priv.h
index 1773a7fcd2..33c5ad3f87 100644
--- a/libs/libssh2/src/libssh2_priv.h
+++ b/libs/libssh2/src/libssh2_priv.h
@@ -40,6 +40,7 @@
#ifndef LIBSSH2_PRIV_H
#define LIBSSH2_PRIV_H 1
+#define LIBSSH2_LIBRARY
#include "libssh2_config.h"
#ifdef HAVE_WINDOWS_H