summaryrefslogtreecommitdiff
path: root/src/doprnt.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-04-28 13:11:17 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-04-28 13:11:17 -0700
commit283cdbef2afe17fc83d93886ac8c47c5222c4ee2 (patch)
tree0702b4a9c78be218b2fe7ee474a8d7591d00949a /src/doprnt.c
parentf76dee0c23a846517e72618dec6d2424321bb32b (diff)
downloademacs-283cdbef2afe17fc83d93886ac8c47c5222c4ee2.tar.gz
* doprnt.c (SIZE_MAX): Move defn after all includes, as they might #define it.
Diffstat (limited to 'src/doprnt.c')
-rw-r--r--src/doprnt.c7
1 files changed, 4 insertions, 3 deletions
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 <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