Commit 283cdbef authored by Paul Eggert's avatar Paul Eggert

* doprnt.c (SIZE_MAX): Move defn after all includes, as they might #define it.

parent f76dee0c
2011-04-28 Paul Eggert <eggert@cs.ucla.edu>
* doprnt.c (doprnt): Omit useless test; int overflow check (Bug#8545).
(SIZE_MAX): Move defn after all includes, as they might #define it.
2011-04-28 Juanma Barranquero <lekktu@gmail.com>
......
......@@ -111,9 +111,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <unistd.h>
#include <limits.h>
#ifndef SIZE_MAX
# define SIZE_MAX ((size_t) -1)
#endif
#include "lisp.h"
......@@ -122,6 +119,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
another macro. */
#include "character.h"
#ifndef SIZE_MAX
# define SIZE_MAX ((size_t) -1)
#endif
#ifndef DBL_MAX_10_EXP
#define DBL_MAX_10_EXP 308 /* IEEE double */
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment