Sad hack to make FreeBSD and OpenBSD happy with memcpy declaration.

This commit is contained in:
David Brown 2016-08-23 17:13:53 +01:00
parent 3744c3d0ae
commit 2967a9b99e

View file

@ -27,6 +27,10 @@ typedef unsigned char SYSTEM_CARD8;
#endif
// For FreeBSD and OpenBSD:
typedef SYSTEM_ADDRESS size_t
#define _SIZE_T_DECLARED
void *memcpy(void *dest, const void *source, SYSTEM_ADDRESS size);