mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-08 10:56:27 +00:00
Fix warnings when building with -DSDL_LIBC=OFF on Linux
This commit is contained in:

committed by
Anonymous Maarten

parent
f59dbf6a12
commit
009318c5a9
@@ -57,11 +57,11 @@ void *SDL_memmove(SDL_OUT_BYTECAP(len) void *dst, SDL_IN_BYTECAP(len) const void
|
||||
#ifndef HAVE_LIBC
|
||||
/* NOLINTNEXTLINE(readability-redundant-declaration) */
|
||||
extern void *memmove(void *dst, const void *src, size_t len);
|
||||
#ifndef __INTEL_LLVM_COMPILER
|
||||
#if defined(_MSC_VER) && !defined(__INTEL_LLVM_COMPILER)
|
||||
#pragma intrinsic(memmove)
|
||||
#endif
|
||||
|
||||
#ifndef __clang__
|
||||
#if defined(_MSC_VER) && !defined(__clang__)
|
||||
#pragma function(memmove)
|
||||
#endif
|
||||
/* NOLINTNEXTLINE(readability-inconsistent-declaration-parameter-name) */
|
||||
|
Reference in New Issue
Block a user