r12832: make it possible to pass -D_PUBLIC_... to the compiler
authorStefan Metzmacher <metze@samba.org>
Tue, 10 Jan 2006 16:55:15 +0000 (16:55 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:50:04 +0000 (13:50 -0500)
metze
(This used to be commit 5540509f10e3fee4c653081a3bc56213d40869df)

source4/include/includes.h

index fae9a29a9c1bfd54202931f9cb06a7b741834123..29c868ff39f446c25daa5d39ef165dc79138e55e 100644 (file)
@@ -158,6 +158,8 @@ extern int DEBUGLEVEL;
 #define discard_const(ptr) ((void *)((intptr_t)(ptr)))
 #define discard_const_p(type, ptr) ((type *)discard_const(ptr))
 
+#ifndef _PUBLIC_
 #define _PUBLIC_
+#endif
 
 #endif /* _INCLUDES_H */