mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 00:07:51 +00:00
workflows: fix windows build error
Windows build log has an error message for including winsock2.h and the build fails at the updater.cpp file. Use the MONERO_GUI_STATIC definition for driving the import logic since it is already defined for the docker static build. Co-authored-by: jeffro256 <jeffro256@users.noreply.github.com>
This commit is contained in:
parent
e9afaa9cc8
commit
da63ab2e05
1 changed files with 4 additions and 0 deletions
|
@ -26,6 +26,10 @@
|
||||||
// STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
// STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
||||||
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
#if defined(_WIN32) && !defined(MONERO_GUI_STATIC)
|
||||||
|
#include <Winsock2.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "updater.h"
|
#include "updater.h"
|
||||||
|
|
||||||
#include <common/util.h>
|
#include <common/util.h>
|
||||||
|
|
Loading…
Reference in a new issue