[SCM] Samba Shared Repository - branch master updated -
release-4-0-0alpha6-1224-gd7c7b31
Jelmer Vernooij
jelmer at samba.org
Wed Feb 25 16:18:01 GMT 2009
The branch, master has been updated
via d7c7b31bbaf110446ea835b66845ab6f0ee09231 (commit)
from fd3f3e68f2e6be0196473f641f8edb41e40ca761 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit d7c7b31bbaf110446ea835b66845ab6f0ee09231
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Feb 25 16:54:35 2009 +0100
Only define _GNU_SOURCE if it's not defined yet.
-----------------------------------------------------------------------
Summary of changes:
pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm b/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm
index f8209be..f2a96a3 100644
--- a/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm
+++ b/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm
@@ -131,7 +131,9 @@ sub Parse($$$$)
if (is_intree()) {
$res .= "#include \"includes.h\"\n";
} else {
+ $res .= "#ifndef _GNU_SOURCE\n";
$res .= "#define _GNU_SOURCE\n";
+ $res .= "#endif\n";
$res .= "#include <stdio.h>\n";
$res .= "#include <stdbool.h>\n";
$res .= "#include <stdlib.h>\n";
--
Samba Shared Repository
More information about the samba-cvs
mailing list