mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
Don't define _GNU_SOURCE if it's already defined on the command-line.
This commit is contained in:
parent
258ae4cec5
commit
fc3ffedcfe
@ -2548,7 +2548,9 @@ sub GenerateIncludes($)
|
||||
if (is_intree()) {
|
||||
$self->pidl("#include \"includes.h\"");
|
||||
} else {
|
||||
$self->pidl("#ifndef _GNU_SOURCE");
|
||||
$self->pidl("#define _GNU_SOURCE");
|
||||
$self->pidl("#endif");
|
||||
$self->pidl("#include <stdint.h>");
|
||||
$self->pidl("#include <stdlib.h>");
|
||||
$self->pidl("#include <stdio.h>");
|
||||
|
Loading…
Reference in New Issue
Block a user