include/SDL_stdinc.h
changeset 7307 5d6b7b9432d3
parent 7191 75360622e65f
child 7308 728e5f22a82f
     1.1 --- a/include/SDL_stdinc.h	Tue Jun 11 08:37:03 2013 -0700
     1.2 +++ b/include/SDL_stdinc.h	Thu Jun 13 22:10:10 2013 -0700
     1.3 @@ -359,7 +359,7 @@
     1.4  
     1.5  
     1.6  extern DECLSPEC void *SDLCALL SDL_memcpy(void *dst, const void *src, size_t len);
     1.7 -#if defined(__MACOSX__)
     1.8 +#if defined(__MACOSX__) && defined(HAVE_MEMCPY)
     1.9  SDL_FORCE_INLINE void *SDL_memcpy_inline(void *dst, const void *src, size_t len)
    1.10  {
    1.11      /* We can count on memcpy existing on Mac OS X and being well-tuned. */