msvc compat bits
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
ecff510fcb
commit
944460ac74
|
@ -384,6 +384,11 @@ add_library(carla::native-plugins ALIAS carla-native-plugins)
|
|||
|
||||
set_common_target_properties(carla-native-plugins)
|
||||
|
||||
target_compile_definitions(carla-native-plugins
|
||||
PRIVATE
|
||||
$<$<BOOL:${MSVC}>:_USE_MATH_DEFINES>
|
||||
)
|
||||
|
||||
target_include_directories(carla-native-plugins
|
||||
PRIVATE
|
||||
../source/includes
|
||||
|
@ -435,6 +440,7 @@ target_link_libraries(carla-rtmempool
|
|||
PRIVATE
|
||||
${CARLA_LIBDL}
|
||||
${CARLA_LIBRT}
|
||||
${CARLA_PTHREADS}
|
||||
)
|
||||
|
||||
target_sources(carla-rtmempool
|
||||
|
@ -494,6 +500,7 @@ target_link_libraries(carla-water
|
|||
$<$<BOOL:${WIN32}>:winmm>
|
||||
${CARLA_LIBDL}
|
||||
${CARLA_LIBRT}
|
||||
${CARLA_PTHREADS}
|
||||
)
|
||||
|
||||
target_sources(carla-water
|
||||
|
@ -630,6 +637,11 @@ target_include_directories(carla-zita-resampler
|
|||
../source/includes
|
||||
)
|
||||
|
||||
target_link_libraries(carla-zita-resampler
|
||||
PRIVATE
|
||||
${CARLA_PTHREADS}
|
||||
)
|
||||
|
||||
target_sources(carla-zita-resampler
|
||||
PRIVATE
|
||||
../source/modules/zita-resampler/cresampler.cc
|
||||
|
|
|
@ -16,16 +16,17 @@
|
|||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
*/
|
||||
|
||||
#include "ad_plugin.h"
|
||||
|
||||
#ifdef HAVE_FFMPEG
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "ad_plugin.h"
|
||||
|
||||
#ifdef HAVE_FFMPEG
|
||||
|
||||
#include "ffcompat.h"
|
||||
|
||||
#ifndef MIN
|
||||
|
|
|
@ -16,11 +16,10 @@
|
|||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include <unistd.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "ad_plugin.h"
|
||||
|
|
|
@ -16,11 +16,11 @@
|
|||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "ad_plugin.h"
|
||||
|
|
|
@ -16,11 +16,10 @@
|
|||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include <unistd.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "ad_plugin.h"
|
||||
|
|
Loading…
Reference in New Issue