Assume POSIX 1003.1-1988 or later for signal.h.
[bpt/emacs.git] / msdos / inttypes.h
index e21f1b1..dba56f8 100644 (file)
@@ -1,6 +1,6 @@
 /* Replacement inntypes.h file for building GNU Emacs on MS-DOS with DJGPP.
 
-Copyright (C) 2011  Free Software Foundation, Inc.
+Copyright (C) 2011-2012  Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -30,6 +30,8 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #else  /* __DJGPP__ < 2.04 */
 #include <stdlib.h>
 #define strtoumax strtoull
+#define strtoimax strtoll
+#define PRIuMAX   "llu"
 #endif /* __DJGPP__ < 2.04 */
 
 #endif