Mail Archives: djgpp-workers/2013/02/01/19:22:17
While I was trying to port unrtf I noted that inttypes.h does not include
stdint.h. Any objection if the patch below is committed?
Regards,
Juan M. Guerrero
diff -aprNU5 djgpp.orig/include/inttypes.h djgpp/include/inttypes.h
--- djgpp.orig/include/inttypes.h 2012-09-23 07:49:10 +0000
+++ djgpp/include/inttypes.h 2013-02-02 00:34:14 +0000
@@ -1,5 +1,6 @@
+/* Copyright (C) 2013 DJ Delorie, see COPYING.DJ for details */
/* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */
/* Copyright (C) 2002 DJ Delorie, see COPYING.DJ for details */
#include <stdint.h>
#ifndef __dj_inttypes__h_
@@ -9,10 +10,12 @@
extern "C" {
#endif
#ifndef __dj_ENFORCE_ANSI_FREESTANDING
+#include <stdint.h>
+
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
|| !defined(__STRICT_ANSI__) || defined(__cplusplus)
/* ANSI/ISO C99 says these should not be visible in C++ unless
explicitly requested. */
- Raw text -