diff options
author | Alain Frisch <alain@frisch.fr> | 2012-04-18 07:17:58 +0000 |
---|---|---|
committer | Alain Frisch <alain@frisch.fr> | 2012-04-18 07:17:58 +0000 |
commit | 061ed556888aed2c84267caca6a6ab832eb2da46 (patch) | |
tree | dd594255e06294b863e40a382af794adb60682aa /otherlibs/bigarray/bigarray.h | |
parent | 215e508e8bd53f7299ffd7d828794e2f4d4ba6f4 (diff) | |
parent | 3930c2fd79e43bd02e3bc79d6b047f3aeab0effe (diff) | |
download | ocaml-more_unboxing.tar.gz |
Sync with trunk.more_unboxing
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/more_unboxing@12369 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/bigarray/bigarray.h')
-rw-r--r-- | otherlibs/bigarray/bigarray.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/bigarray/bigarray.h b/otherlibs/bigarray/bigarray.h index 8625b0d9fe..f6552107a6 100644 --- a/otherlibs/bigarray/bigarray.h +++ b/otherlibs/bigarray/bigarray.h @@ -73,8 +73,8 @@ struct caml_ba_array { intnat num_dims; /* Number of dimensions */ intnat flags; /* Kind of element array + memory layout + allocation status */ struct caml_ba_proxy * proxy; /* The proxy for sub-arrays, or NULL */ - /* PR#5516: use C99's / gcc's flexible array types if possible */ -#if (__STDC_VERSION__ >= 199901L) || defined(__GNUC__) + /* PR#5516: use C99's flexible array types if possible */ +#if (__STDC_VERSION__ >= 199901L) intnat dim[] /*[num_dims]*/; /* Size in each dimension */ #else intnat dim[1] /*[num_dims]*/; /* Size in each dimension */ |