summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-09-16 15:12:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:06:49 -0500
commit864c9dd88bf39a89c59baaa28c12d989a9d9f04e (patch)
treebfd4be6d8c36b7071771133a2c18143fa9fb0a58
parent65c276dfb6b9f08fc3bb987555cf805ab9fbd8c2 (diff)
downloadsamba-864c9dd88bf39a89c59baaa28c12d989a9d9f04e.tar.gz
samba-864c9dd88bf39a89c59baaa28c12d989a9d9f04e.tar.bz2
samba-864c9dd88bf39a89c59baaa28c12d989a9d9f04e.zip
r25192: try to fix the build on sun/solaris hosts
we should try to get rid of all c++ sympols in samba4... metze (This used to be commit 96d2f8b3604b8d34bc65877886d1d663131a712a)
-rw-r--r--source4/nsswitch/winbind_nss_solaris.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/nsswitch/winbind_nss_solaris.h b/source4/nsswitch/winbind_nss_solaris.h
index 84062dbab4..941b3e66df 100644
--- a/source4/nsswitch/winbind_nss_solaris.h
+++ b/source4/nsswitch/winbind_nss_solaris.h
@@ -37,6 +37,9 @@
#include <nss_common.h>
+/*
+TODO: we need to cleanup samba4's headers..
+
#ifndef __cplusplus
#define class #error DONT_USE_CPLUSPLUS_RESERVED_NAMES
#define private #error DONT_USE_CPLUSPLUS_RESERVED_NAMES
@@ -48,6 +51,7 @@
#define delete #error DONT_USE_CPLUSPLUS_RESERVED_NAMES
#define friend #error DONT_USE_CPLUSPLUS_RESERVED_NAMES
#endif
+*/
#include <nss_dbdefs.h>
#include <nsswitch.h>