IAR: let test code use stdio FILE functions

Signed-off-by: Gilles Peskine <[email protected]>
This commit is contained in:
Gilles Peskine
2026-03-11 20:11:47 +01:00
parent 25c1750beb
commit 4ad123d54f
+6
View File
@@ -23,6 +23,12 @@
#define __USE_MINGW_ANSI_STDIO 1
#endif
#if defined(__IAR_SYSTEMS_ICC__)
/* With IAR, enable support for ::FILE functions in stdio.h.
*/
#define _DLIB_FILE_DESCRIPTOR 1
#endif
/* Make sure we have the library configuration, and anything else that
* is deemed necessary in test headers. */
#include <test/build_info.h>