ocaml/testsuite/tests/compatibility
madroach 82700678b2
Don't include stdio.h in caml/misc.h (#9483)
* Don't include stdio.h in caml/misc.h
There is no need to include stdio.h in caml/misc.h
This seems to have happened by accident in commit cddec18fde
On OpenBSD, stderr and stdout are macros defined in stdio.h
ppx_expect uses stderr and stdout as identifiers in
collector/expect_test_collector_stubs.c where caml/misc.h is included.
This confuses the C compiler, because the macro will get expanded where an identifier is expected.

* Remove fallback NULL definition in caml/misc.h

ISO C guarantees that NULL is defined in <stddef.h>

* include missing stdio in tests/compatibility/stub.c
2020-04-24 14:27:32 +02:00
..
main.ml Fix compatibility test recipe 2019-08-26 17:27:35 +02:00
main.reference Compatibility test 2019-08-24 13:00:41 +02:00
stub.c Don't include stdio.h in caml/misc.h (#9483) 2020-04-24 14:27:32 +02:00