summaryrefslogtreecommitdiff
path: root/Xfuncs.h
diff options
context:
space:
mode:
authorColin Harrison <colin.harrison-at-virgin.net>2007-05-09 16:46:25 +0100
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2007-05-09 16:46:25 +0100
commitd8a49874bbd05a927c42102c0c5c147cf72cb1dd (patch)
treeee4ffe2303f2381693c5574da7f3f5a83f96baaf /Xfuncs.h
parent7505880329d6b81f0c77d6aaa3995390659d5c63 (diff)
bcopy needs definition in Xfuncs.h for Xming
Diffstat (limited to 'Xfuncs.h')
-rw-r--r--Xfuncs.h4
1 files changed, 4 insertions, 0 deletions
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_ */