fix commit 15947: MS compiler does not handle 'inline'

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15950 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Damien Doligez 2015-03-18 18:34:28 +00:00
parent 47d71ad184
commit 90cc7c2970
1 changed files with 1 additions and 5 deletions

View File

@ -1121,12 +1121,8 @@ CAMLprim value caml_ba_sub(value vb, value vofs, value vlen)
/* Copying a big array into another one */
static inline int is_mmapped(struct caml_ba_array *ba)
{
return (ba->flags & CAML_BA_MAPPED_FILE);
}
#define LEAVE_RUNTIME_OP_CUTOFF 4096
#define is_mmapped(ba) ((ba)->flags & CAML_BA_MAPPED_FILE)
CAMLprim value caml_ba_blit(value vsrc, value vdst)
{