summaryrefslogtreecommitdiffstats
path: root/byterun/config.h
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2000-10-12 18:05:42 +0000
committerDamien Doligez <damien.doligez-inria.fr>2000-10-12 18:05:42 +0000
commitcdf19e15fc00c997fee4b46c147320e4dff390a6 (patch)
treeadfacfaa4596e23800047746fdb78b44a995153c /byterun/config.h
parentbe85acc16e8aa5c0811bbcd365e0856bd797f50b (diff)
bcopy -> memmove; pas de virgule finale dans instruct.h
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3310 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/config.h')
-rw-r--r--byterun/config.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/byterun/config.h b/byterun/config.h
index 1d2d4e9b6..c70601b44 100644
--- a/byterun/config.h
+++ b/byterun/config.h
@@ -56,14 +56,14 @@ typedef uint64 int64;
/* Library dependencies */
#ifdef HAS_MEMMOVE
-#undef bcopy
-#define bcopy(src,dst,len) memmove((dst), (src), (len))
+/* nothing to do */
#else
#ifdef HAS_BCOPY
-/* Nothing to do */
+#undef memmove
+#define memmove(dst,src,len) bcopy((src), (dst), (len))
#else
-#undef bcopy
-#define bcopy(src,dst,len) memmov((dst), (src), (len))
+#undef memmove
+#define memmove(dst,src,len) memmov((dst), (src), (len))
#define USING_MEMMOV
#endif
#endif