Skip to content

Commit

Permalink
Enable MINGW C99 standard IO.
Browse files Browse the repository at this point in the history
Resolves MinGW-w64 warnings related to unknown conversion type
characters in fscanf. See new code comment for additional details.
  • Loading branch information
jvalenzuela committed Sep 26, 2023
1 parent a2858f3 commit bedb069
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions source/src/ports/nvdata/nvqos.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
*
******************************************************************************/

/*
* The following definition is needed for MinGW-w64 to enable C99 scanf
* specifiers as required by fscanf() in NvQosLoad().
*/
#define __USE_MINGW_ANSI_STDIO 1


/** @file nvqos.c
* @brief This file implements the functions to handle QoS object's NV data.
*
Expand Down

0 comments on commit bedb069

Please sign in to comment.