Fix the build on Windows
This commit is contained in:
parent
85883481c9
commit
5d4a3741b3
1 changed files with 5 additions and 1 deletions
|
|
@ -6,10 +6,14 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "ghc/fs_std.hpp"
|
#include "ghc/fs_std.hpp"
|
||||||
#include <sndfile.h>
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
#if defined(_WIN32)
|
||||||
|
#define ENABLE_SNDFILE_WINDOWS_PROTOTYPES 1
|
||||||
|
#include <windows.h>
|
||||||
|
#endif
|
||||||
|
#include <sndfile.h>
|
||||||
|
|
||||||
namespace sfz {
|
namespace sfz {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue