Mercurial > hg
diff contrib/python3-whitelist @ 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 | b7304e1cc914 |
children | 48f3e87ce650 |