ZynAddSubFx: MinGW64-specific fixes

Some minor modifications were neccessary in order to build LMMS with
the latest MinGW64 environment.
(cherry picked from commit 456abc4cde)
This commit is contained in:
Tobias Doerffel
2010-06-16 23:12:53 +02:00
parent 48b0b1efb9
commit 9b76a4b6b4
4 changed files with 8 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
/*
* RemoteZynAddSubFx.cpp - ZynAddSubFx-embedding plugin
*
* Copyright (c) 2008-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
* Copyright (c) 2008-2010 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
*
@@ -23,6 +23,10 @@
*/
#include <lmmsconfig.h>
#ifdef LMMS_BUILD_WIN32
#include <winsock2.h>
#endif
#include <queue>
#define BUILD_REMOTE_PLUGIN_CLIENT

View File

@@ -25,7 +25,7 @@ SET(LIBRARY_OUTPUT_PATH "${FLTK_BINARY_DIR}/bin" CACHE INTERNAL
OPTION(BUILD_SHARED_LIBS "Build FLTK as a shared library" OFF)
# Search for modules in the FLTK source dir first
SET(CMAKE_MODULE_PATH "${FLTK_SOURCE_DIR}/CMake")
SET(CMAKE_MODULE_PATH ${FLTK_SOURCE_DIR}/CMake ${CMAKE_MODULE_PATH})
#-----------------------------------------------------------------------------
# Test for some required system information.

View File

@@ -34,6 +34,7 @@
# error "Never use <FL/win32.H> directly; include <FL/x.H> instead."
#endif // !Fl_X_H
#include <winsock2.h>
#include <windows.h>
// In some of the distributions, the gcc header files are missing some stuff:
#ifndef LPMINMAXINFO

View File

@@ -187,6 +187,7 @@ int Fl::awake(Fl_Awake_Handler func, void *data) {
See also: \ref advanced_multithreading
*/
#ifdef WIN32
# include <winsock2.h>
# include <windows.h>
# include <process.h>
# include <FL/x.H>