diff --git a/src/stdlib/SDL_mslibc.c b/src/stdlib/SDL_mslibc.c index fe623cc71..37aa00937 100644 --- a/src/stdlib/SDL_mslibc.c +++ b/src/stdlib/SDL_mslibc.c @@ -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: */