From 283cdbef2afe17fc83d93886ac8c47c5222c4ee2 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 28 Apr 2011 13:11:17 -0700 Subject: * doprnt.c (SIZE_MAX): Move defn after all includes, as they might #define it. --- src/doprnt.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/doprnt.c') diff --git a/src/doprnt.c b/src/doprnt.c index eac1796c496..db0b66c3aa2 100644 --- a/src/doprnt.c +++ b/src/doprnt.c @@ -111,9 +111,6 @@ along with GNU Emacs. If not, see . */ #include #include -#ifndef SIZE_MAX -# define SIZE_MAX ((size_t) -1) -#endif #include "lisp.h" @@ -122,6 +119,10 @@ along with GNU Emacs. If not, see . */ 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 -- cgit v1.2.1