[Gmp-commit] /var/hg/gmp: Don't include <cstddef>, <stddef.h> is what we use.
mercurial at gmplib.org
mercurial at gmplib.org
Tue Oct 8 19:15:24 CEST 2013
details: /var/hg/gmp/rev/eb8af78993e0
changeset: 16036:eb8af78993e0
user: Marc Glisse <marc.glisse at inria.fr>
date: Tue Oct 08 19:15:05 2013 +0200
description:
Don't include <cstddef>, <stddef.h> is what we use.
diffstat:
ChangeLog | 2 +-
gmp-h.in | 4 ----
2 files changed, 1 insertions(+), 5 deletions(-)
diffs (27 lines):
diff -r 3db7f0f74219 -r eb8af78993e0 ChangeLog
--- a/ChangeLog Tue Oct 08 18:54:52 2013 +0200
+++ b/ChangeLog Tue Oct 08 19:15:05 2013 +0200
@@ -3,7 +3,7 @@
* doc/mdate-sh, doc/texinfo.tex, install-sh, missing, ylwrap: Remove.
* .bootstrap: Use autoreconf (and in particular automake -a).
- * gmp-h.in: Remove __need_size_t.
+ * gmp-h.in: Remove __need_size_t. Include <stddef.h>, not <cstddef>.
* tests/mpf/reuse.c (main): Use small numbers as exponents.
diff -r 3db7f0f74219 -r eb8af78993e0 gmp-h.in
--- a/gmp-h.in Tue Oct 08 18:54:52 2013 +0200
+++ b/gmp-h.in Tue Oct 08 19:15:05 2013 +0200
@@ -46,11 +46,7 @@
#ifndef __GNU_MP__
#define __GNU_MP__ 5
-#if defined (__cplusplus)
-#include <cstddef> /* for size_t */
-#else
#include <stddef.h> /* for size_t */
-#endif
/* Instantiated by configure. */
#if ! defined (__GMP_WITHIN_CONFIGURE)
More information about the gmp-commit
mailing list