r25192: try to fix the build on sun/solaris hosts
authorStefan Metzmacher <metze@samba.org>
Sun, 16 Sep 2007 15:12:04 +0000 (15:12 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 20:06:49 +0000 (15:06 -0500)
we should try to get rid of all c++ sympols
in samba4...

metze
(This used to be commit 96d2f8b3604b8d34bc65877886d1d663131a712a)

source4/nsswitch/winbind_nss_solaris.h

index 84062dbab4a3d0dae99f1d2c5a17ed0a0bfec0f8..941b3e66dfc0cad156db5fbf79052200ad30ad40 100644 (file)
@@ -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>