memcpy.h 343 B

1234567891011121314151617181920
  1. /*
  2. * memcpy.h
  3. * prototypes for memcpy.c
  4. *
  5. */
  6. #ifndef _EGG_COMPAT_MEMCPY_H
  7. #define _EGG_COMPAT_MEMCPY_H
  8. #include "src/main.h"
  9. #include <string.h>
  10. #ifndef HAVE_MEMCPY
  11. /* Use our own implementation. */
  12. void *egg_memcpy(void *dest, const void *src, size_t n);
  13. #else
  14. # define egg_memcpy memcpy
  15. #endif
  16. #endif /* !__EGG_COMPAT_MEMCPY_H */