Skip to content
Snippets Groups Projects
  • Redirect 'Slash' NIL's avatar
    fb61f527
    MinGW: always use "-D__USE_MINGW_ANSI_STDIO" · fb61f527
    Redirect 'Slash' NIL authored
    This is unfortunately needed to make stdio work like OpenOCD expects -- matching
    the ANSI-C standard, instead of MS-Windows.
    
    I tested it in both MinGW-W64 on Vista 64 and MinGW-W32 on XP, and I don't
    see any adverse effects to enabling it for all MinGW versions.
    fb61f527
    History
    MinGW: always use "-D__USE_MINGW_ANSI_STDIO"
    Redirect 'Slash' NIL authored
    This is unfortunately needed to make stdio work like OpenOCD expects -- matching
    the ANSI-C standard, instead of MS-Windows.
    
    I tested it in both MinGW-W64 on Vista 64 and MinGW-W32 on XP, and I don't
    see any adverse effects to enabling it for all MinGW versions.