support native Jack support under Windows using the CONFIG switch "jackonwindows"

This commit is contained in:
Volker Fischer 2018-03-22 20:50:05 +00:00
parent 59981ba71f
commit 29332269c9

View file

@ -43,7 +43,7 @@
#ifdef LLCON_VST_PLUGIN #ifdef LLCON_VST_PLUGIN
# include "vstsound.h" # include "vstsound.h"
#else #else
# ifdef _WIN32 # if defined ( _WIN32 ) && !defined ( JACK_REPLACES_ASIO )
# include "../windows/sound.h" # include "../windows/sound.h"
# else # else
# if ( defined ( __APPLE__ ) || defined ( __MACOSX ) ) && !defined ( JACK_REPLACES_COREAUDIO ) # if ( defined ( __APPLE__ ) || defined ( __MACOSX ) ) && !defined ( JACK_REPLACES_COREAUDIO )
@ -53,9 +53,11 @@
# include "../android/sound.h" # include "../android/sound.h"
# else # else
# include "../linux/sound.h" # include "../linux/sound.h"
# include <sched.h> # ifndef JACK_REPLACES_ASIO // these headers are not available in Windows OS
# include <sched.h>
# include <netdb.h>
# endif
# include <socket.h> # include <socket.h>
# include <netdb.h>
# endif # endif
# endif # endif
# endif # endif