mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 04:02:25 +00:00
Sad hack to make FreeBSD and OpenBSD happy with memcpy declaration.
This commit is contained in:
parent
3744c3d0ae
commit
2967a9b99e
1 changed files with 4 additions and 0 deletions
|
|
@ -27,6 +27,10 @@ typedef unsigned char SYSTEM_CARD8;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
// For FreeBSD and OpenBSD:
|
||||||
|
typedef SYSTEM_ADDRESS size_t
|
||||||
|
#define _SIZE_T_DECLARED
|
||||||
|
|
||||||
void *memcpy(void *dest, const void *source, SYSTEM_ADDRESS size);
|
void *memcpy(void *dest, const void *source, SYSTEM_ADDRESS size);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue