Mercurial > hg
diff mercurial/changegroup.py @ 33629:5544af862286 stable 4.3
chg: define _GNU_SOURCE to allow CentOS 5 compilation
Without this flag, compilation fails with:
hgclient.c: In function 'hgc_open':
hgclient.c:466: error: 'O_DIRECTORY' undeclared (first use in this function)
hgclient.c:466: error: (Each undeclared identifier is reported only once
hgclient.c:466: error: for each function it appears in.)
Differential Revision: https://phab.mercurial-scm.org/D260
author | Mathias De Maré <mathias.de_mare@nokia.com> |
---|---|
date | Mon, 07 Aug 2017 13:40:36 +0200 |
parents | bb72031f0ea8 |
children | 38fc45721334 91f0677dc920 |