stdlib: exclude mslibc functions using SDL_STATIC_LIB macro

This commit is contained in:
Anonymous Maarten 2022-07-28 02:06:29 +02:00 committed by Anonymous Maarten
parent f8aa00d198
commit 36dfbe5d66

View file

@ -27,7 +27,8 @@
/* This file contains SDL replacements for functions in the C library */
#ifndef HAVE_LIBC
#if !defined(HAVE_LIBC) && !defined(SDL_STATIC_LIB)
/* These are some C runtime intrinsics that need to be defined */
#if defined(_MSC_VER)
@ -712,6 +713,6 @@ RETZERO:
#endif /* MSC_VER */
#endif /* !HAVE_LIBC */
#endif /* !HAVE_LIBC && !SDL_STATIC_LIB */
/* vi: set ts=4 sw=4 expandtab: */