include/SDL_stdinc.h
changeset 7307 5d6b7b9432d3
parent 7191 75360622e65f
child 7308 728e5f22a82f
equal deleted inserted replaced
7306:1516fe08e6ec 7307:5d6b7b9432d3
   357 #endif
   357 #endif
   358 }
   358 }
   359 
   359 
   360 
   360 
   361 extern DECLSPEC void *SDLCALL SDL_memcpy(void *dst, const void *src, size_t len);
   361 extern DECLSPEC void *SDLCALL SDL_memcpy(void *dst, const void *src, size_t len);
   362 #if defined(__MACOSX__)
   362 #if defined(__MACOSX__) && defined(HAVE_MEMCPY)
   363 SDL_FORCE_INLINE void *SDL_memcpy_inline(void *dst, const void *src, size_t len)
   363 SDL_FORCE_INLINE void *SDL_memcpy_inline(void *dst, const void *src, size_t len)
   364 {
   364 {
   365     /* We can count on memcpy existing on Mac OS X and being well-tuned. */
   365     /* We can count on memcpy existing on Mac OS X and being well-tuned. */
   366     return memcpy(dst, src, len);
   366     return memcpy(dst, src, len);
   367 }
   367 }