From d8a49874bbd05a927c42102c0c5c147cf72cb1dd Mon Sep 17 00:00:00 2001 From: Colin Harrison Date: Wed, 9 May 2007 16:46:25 +0100 Subject: bcopy needs definition in Xfuncs.h for Xming --- Xfuncs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Xfuncs.h') diff --git a/Xfuncs.h b/Xfuncs.h index 9fe8687..2469b69 100644 --- a/Xfuncs.h +++ b/Xfuncs.h @@ -89,6 +89,10 @@ void bcopy(); #define atexit(f) on_exit(f, 0) #endif +#if defined WIN32 && defined __MINGW32__ +#define bcopy(b1,b2,len) memmove(b2, b1, (size_t)(len)) +#endif + #endif /* !(defined(XFree86LOADER) && defined(IN_MODULE)) */ #endif /* _XFUNCS_H_ */ -- cgit v1.2.3