summaryrefslogtreecommitdiff
path: root/otherlibs/bigarray
diff options
context:
space:
mode:
authorSébastien Hinderer <Sebastien.Hinderer@inria.fr>2016-11-17 11:03:09 +0100
committerDamien Doligez <damien.doligez@gmail.com>2016-11-17 11:03:09 +0100
commit13945a71ed2616df9a4672cfc83f8f450ec437a8 (patch)
tree81b76ce495fd56fae8b5ad42d028826ec3193360 /otherlibs/bigarray
parentc628d9c6e14b8a4e032b892e59343f77729da050 (diff)
downloadocaml-13945a71ed2616df9a4672cfc83f8f450ec437a8.tar.gz
Do not use the compatibility macros in the C stub code. (#892)
* Don't use the compatibility macros, neither in the C stub code nor in the testsuite. * Make sure compiler sources do not use deprecated C identifiers. This is achieved by ensuring that the CAML_NAME_SPACE macro is defined everytime a C source file is compiled, rather than being defined only in a few places. Defining this macro guarantees that the compatibility.h header (where these deprecated identifiers are defined) will not be included.
Diffstat (limited to 'otherlibs/bigarray')
-rw-r--r--otherlibs/bigarray/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/bigarray/Makefile b/otherlibs/bigarray/Makefile
index 58e7338820..5044c724b7 100644
--- a/otherlibs/bigarray/Makefile
+++ b/otherlibs/bigarray/Makefile
@@ -14,7 +14,7 @@
#**************************************************************************
LIBNAME=bigarray
-EXTRACFLAGS=-I../$(UNIXLIB) -DIN_OCAML_BIGARRAY -DCAML_NAME_SPACE
+EXTRACFLAGS=-I../$(UNIXLIB) -DIN_OCAML_BIGARRAY
EXTRACAMLFLAGS=-I ../$(UNIXLIB)
COBJS=bigarray_stubs.$(O) mmap_$(UNIX_OR_WIN32).$(O)
CAMLOBJS=bigarray.cmo