Commit b307d74f authored by Andreas Rheinhardt's avatar Andreas Rheinhardt Committed by Timo Rothenpieler

compat/cuda: Change inclusion guards

cuda_runtime.h as well as dynlink_loader.h used nonstandard inclusion
guards with an AV_ prefix, although these files are not in an libav*/
path. So change the inclusion guards and adapt the ref file of the
source fate test accordingly.
Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: 's avatarTimo Rothenpieler <timo@rothenpieler.org>
parent 01994c93
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#ifndef AV_COMPAT_CUDA_CUDA_RUNTIME_H #ifndef COMPAT_CUDA_CUDA_RUNTIME_H
#define AV_COMPAT_CUDA_CUDA_RUNTIME_H #define COMPAT_CUDA_CUDA_RUNTIME_H
// Common macros // Common macros
#define __global__ __attribute__((global)) #define __global__ __attribute__((global))
...@@ -128,4 +128,4 @@ static inline __device__ T tex2D(cudaTextureObject_t texObject, float x, float y ...@@ -128,4 +128,4 @@ static inline __device__ T tex2D(cudaTextureObject_t texObject, float x, float y
return ret; return ret;
} }
#endif #endif /* COMPAT_CUDA_CUDA_RUNTIME_H */
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#ifndef AV_COMPAT_CUDA_DYNLINK_LOADER_H #ifndef COMPAT_CUDA_DYNLINK_LOADER_H
#define AV_COMPAT_CUDA_DYNLINK_LOADER_H #define COMPAT_CUDA_DYNLINK_LOADER_H
#include "libavutil/log.h" #include "libavutil/log.h"
#include "compat/w32dlfcn.h" #include "compat/w32dlfcn.h"
...@@ -30,4 +30,4 @@ ...@@ -30,4 +30,4 @@
#include <ffnvcodec/dynlink_loader.h> #include <ffnvcodec/dynlink_loader.h>
#endif #endif /* COMPAT_CUDA_DYNLINK_LOADER_H */
...@@ -25,7 +25,6 @@ compat/avisynth/avs/types.h ...@@ -25,7 +25,6 @@ compat/avisynth/avs/types.h
compat/avisynth/avxsynth_c.h compat/avisynth/avxsynth_c.h
compat/avisynth/windowsPorts/basicDataTypeConversions.h compat/avisynth/windowsPorts/basicDataTypeConversions.h
compat/avisynth/windowsPorts/windows2linux.h compat/avisynth/windowsPorts/windows2linux.h
compat/cuda/dynlink_loader.h
compat/djgpp/math.h compat/djgpp/math.h
compat/float/float.h compat/float/float.h
compat/float/limits.h compat/float/limits.h
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment