Add support for "MA_IMPLEMENTATION".

This commit is contained in:
David Reid
2019-03-06 21:04:48 +10:00
parent ceb81f60e4
commit 3031eb4966
+1 -1
View File
@@ -2951,7 +2951,7 @@ ma_uint64 ma_sine_wave_read_f32_ex(ma_sine_wave* pSineWave, ma_uint64 frameCount
// //
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#if defined(MINIAUDIO_IMPLEMENTATION) #if defined(MINIAUDIO_IMPLEMENTATION) || defined(MA_IMPLEMENTATION)
#include <assert.h> #include <assert.h>
#include <limits.h> // For INT_MAX #include <limits.h> // For INT_MAX
#include <math.h> // sin(), etc. #include <math.h> // sin(), etc.