Skip to content

Commit

Permalink
Better handling of optional asio
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Jan 15, 2022
1 parent fd562bd commit 66f9bdb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 0 additions & 4 deletions windows/JackTypes_os.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,5 @@ typedef UInt64 uint64_t;
typedef unsigned short uint16_t;
typedef DWORD jack_tls_key;

#if defined(__MINGW32__)
#define PRIu64 "llu"
#endif

#endif

3 changes: 3 additions & 0 deletions windows/portaudio/JackPortAudioDevices.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#include <string>

#include <portaudio.h>

#if defined(HAVE_ASIO)
#include <pa_asio.h>
#endif

/*!
\brief A PortAudio Devices manager.
Expand Down
5 changes: 2 additions & 3 deletions wscript
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,8 @@ def configure(conf):
if Options.options.platform in ('msys', 'win32'):
conf.env.append_value('INCLUDES', ['/mingw64/include'])
conf.check(
header_name='asio.h',
includes='/opt/asiosdk/common',
msg='Checking for ASIO SDK',
header_name='pa_asio.h',
msg='Checking for PortAudio ASIO support',
define_name='HAVE_ASIO',
mandatory=False)

Expand Down

0 comments on commit 66f9bdb

Please sign in to comment.