mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-22 12:57:34 +00:00
Define _GNU_SOURCE in unexmacosx.c
Problem reported by Bob Halley in: http://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00427.html * src/unexmacosx.c (_GNU_SOURCE): Define if not already defined.
This commit is contained in:
parent
33f856ba01
commit
b458ac205e
1 changed files with 6 additions and 0 deletions
|
|
@ -85,6 +85,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
|
|||
be changed accordingly.
|
||||
*/
|
||||
|
||||
/* Make symbols like LLONG_WIDTH visible when the Gnulib <limits.h>
|
||||
is included before <config.h>. */
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE 1
|
||||
#endif
|
||||
|
||||
/* config.h #define:s malloc/realloc/free and then includes stdlib.h.
|
||||
We want the undefined versions, but if config.h includes stdlib.h
|
||||
with the #define:s in place, the prototypes will be wrong and we get
|
||||
|
|
|
|||
Loading…
Reference in a new issue