mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-24 22:07:36 +00:00
Don't define _gnu_source if already defined.
When using the build method of including the MPS directly into one's own sources, that build system may already define _GNU_SOURCE causing a warning here about re-defining it. Copied from Perforce Change: 182941 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
574a2eaaae
commit
9e2eef4fa0
1 changed files with 3 additions and 0 deletions
|
|
@ -356,7 +356,10 @@
|
|||
#if defined(MPS_OS_LI)
|
||||
|
||||
#define _XOPEN_SOURCE 500
|
||||
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue