summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-01-10 16:55:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:50:04 -0500
commit720041d07894080080c12d17b49524a0a184b1f4 (patch)
tree161ccb73b79cad21b23f96435b8bc4f0f3648679 /source4
parent3c2c57a7114d0dc8372f7ae7c3202a0d8c6a20d7 (diff)
downloadsamba-720041d07894080080c12d17b49524a0a184b1f4.tar.gz
samba-720041d07894080080c12d17b49524a0a184b1f4.tar.bz2
samba-720041d07894080080c12d17b49524a0a184b1f4.zip
r12832: make it possible to pass -D_PUBLIC_... to the compiler
metze (This used to be commit 5540509f10e3fee4c653081a3bc56213d40869df)
Diffstat (limited to 'source4')
-rw-r--r--source4/include/includes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/include/includes.h b/source4/include/includes.h
index fae9a29a9c..29c868ff39 100644
--- a/source4/include/includes.h
+++ b/source4/include/includes.h
@@ -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 */