summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Glisse <marc.glisse@inria.fr>2013-10-08 19:15:05 +0200
committerMarc Glisse <marc.glisse@inria.fr>2013-10-08 19:15:05 +0200
commit3bacc27b9bdf26861b4fe648d3d3a689742d2436 (patch)
tree9f4287da0f0f1e2fef2a8d57752dfb1814aaa845
parent6a97695db5a8f587e451d41215e120b879589a73 (diff)
downloadgmp-3bacc27b9bdf26861b4fe648d3d3a689742d2436.tar.gz
Don't include <cstddef>, <stddef.h> is what we use.
-rw-r--r--ChangeLog2
-rw-r--r--gmp-h.in4
2 files changed, 1 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 8e752ba6a..db9a03777 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 --git a/gmp-h.in b/gmp-h.in
index 55fa735ae..5a91c6c3a 100644
--- a/gmp-h.in
+++ b/gmp-h.in
@@ -46,11 +46,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
#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)