]> cygwin.com Git - cygwin-apps/setup.git/commit - Makefile.am
Turn on __USE_MINGW_ANSI_STDIO everywhere
authorJon Turney <jon.turney@dronecode.org.uk>
Tue, 16 Mar 2021 15:55:59 +0000 (15:55 +0000)
committerJon Turney <jon.turney@dronecode.org.uk>
Tue, 16 Mar 2021 16:03:14 +0000 (16:03 +0000)
commit2752cfd1600fe0180f749a91954e0538e8a4acd9
tree148542165da2b129c8e50776010d5a75f97dca17
parent2024cace3d41b80fb6cab9e84806cc2f012e1a60
Turn on __USE_MINGW_ANSI_STDIO everywhere

__USE_MINGW_ANSI_STDIO is turned on by C++ STL headers, so we're getting
this define due to that in most places, except where we happen to
include stdio.h before them. archive_tar.cc happens to do that, and
wants ANSI stdio since da31ad35, so turn it on unconditionally.

It's also turned on for C++11 by MinGW headers >= 8.0.0, which Cygwin
already has, so this already works when building there, and we're going
to have to deal with any other problem that might cause elsewhere in the
source eventually anyhow.

This fixes building since da31ad35 on F33, which only has mingw-headers
7.0.0.
Makefile.am
This page took 0.032108 seconds and 5 git commands to generate.