Index: test/depr/depr.c.headers/stdint_h.pass.cpp
===================================================================
--- test/depr/depr.c.headers/stdint_h.pass.cpp	(revision 139104)
+++ test/depr/depr.c.headers/stdint_h.pass.cpp	(working copy)
@@ -9,6 +9,16 @@
 
 // test <stdint.h>
 
+// according to a footnote in C99 7.18.2 regarding limit macros:
+// C++ implementations should define these macros only when __STDC_LIMIT_MACROS
+// is defined before <stdint.h> is included
+#define __STDC_LIMIT_MACROS
+
+// according to a footnote in C99 7.18.4.1 regarding constant macros:
+// C++ implementations should define these macros only when __STDC_CONSTANT_MACROS
+// is defined before <stdint.h> is included
+#define __STDC_CONSTANT_MACROS
+
 #include <stdint.h>
 #include <csignal>
 #include <cwctype>
Index: test/depr/depr.c.headers/inttypes_h.pass.cpp
===================================================================
--- test/depr/depr.c.headers/inttypes_h.pass.cpp	(revision 139104)
+++ test/depr/depr.c.headers/inttypes_h.pass.cpp	(working copy)
@@ -9,6 +9,11 @@
 
 // test <inttypes.h>
 
+// according to a footnote in C99 7.8.1 regarding PRI* macros:
+// C++ implementations should define these macros only when __STDC_FORMAT_MACROS
+// is defined before <inttypes.h> is included
+#define __STDC_FORMAT_MACROS
+
 #include <inttypes.h>
 #include <type_traits>
 
Index: test/language.support/cstdint/cstdint.syn/cstdint.pass.cpp
===================================================================
--- test/language.support/cstdint/cstdint.syn/cstdint.pass.cpp	(revision 139104)
+++ test/language.support/cstdint/cstdint.syn/cstdint.pass.cpp	(working copy)
@@ -9,6 +9,10 @@
 
 // test <cstdint>
 
+// according to footnotes in C99 regarding macros, those need to be defined:
+#define __STDC_CONSTANT_MACROS
+#define __STDC_LIMIT_MACROS
+
 #include <cstdint>
 #include <csignal>
 #include <cwctype>
Index: test/input.output/file.streams/c.files/cinttypes.pass.cpp
===================================================================
--- test/input.output/file.streams/c.files/cinttypes.pass.cpp	(revision 139104)
+++ test/input.output/file.streams/c.files/cinttypes.pass.cpp	(working copy)
@@ -9,6 +9,11 @@
 
 // test <cinttypes>
 
+// according to footnotes in C99 regarding macros, those need to be defined:
+#define __STDC_CONSTANT_MACROS
+#define __STDC_FORMAT_MACROS
+#define __STDC_LIMIT_MACROS
+
 #include <cinttypes>
 #include <type_traits>
 
