Building the module on Windows 10 with Visual Studio 2015, I get the following error:
..\NodeCoreAudio\AudioEngine.cpp(421): error C3861: 'sleep': identifier not found
With this compiler setup, the #ifdef check to see if the build is occurring Windows (#ifdev __WINDOWS__, line 418) doesn't work. The statement should instead look for the _WIN32 define, or check both:
Building the module on Windows 10 with Visual Studio 2015, I get the following error:
..\NodeCoreAudio\AudioEngine.cpp(421): error C3861: 'sleep': identifier not found
With this compiler setup, the
#ifdef
check to see if the build is occurring Windows (#ifdev __WINDOWS__
, line 418) doesn't work. The statement should instead look for the_WIN32
define, or check both:#if defined( __WINDOWS__ ) || defined( _WIN32 )