From 3abb6f1fefadc5e8e84966e07857d248a07a7b29 Mon Sep 17 00:00:00 2001 From: Philip Langdale Date: Wed, 23 Nov 2016 10:14:32 -0800 Subject: wscript: Fix cuda test to actually work when cuda SDK is not present The test ended up failing if cuda.h wasn't present, even if cuda.h isn't used during the actual build. This test is attempting to establish if the ffmpeg being built against has dynlink_cuda support. While it might theoretically be possible to build against the older normally-linked-cuda version of ffmpeg, it seems more trouble than it's worth. --- video/out/opengl/cuda_dynamic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video') diff --git a/video/out/opengl/cuda_dynamic.h b/video/out/opengl/cuda_dynamic.h index d906b6787f..bdac626be5 100644 --- a/video/out/opengl/cuda_dynamic.h +++ b/video/out/opengl/cuda_dynamic.h @@ -19,7 +19,7 @@ * License along with mpv. If not, see . */ -#if !defined(MPV_CUDA_DYNAMIC_H) && !defined(CUDA_VERSION) +#ifndef MPV_CUDA_DYNAMIC_H #define MPV_CUDA_DYNAMIC_H #include -- cgit v1.2.3