diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-11-12 13:14:00 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-11-15 01:25:06 +0000 |
commit | f20cf610809d74aff58a3711a0405f243da5dce4 (patch) | |
tree | ed7496536718d4e2a1661568af5365c95c21e7fb /source4/heimdal_build | |
parent | 1342185e333cb8139b7a70b7fe43571bcc2716a7 (diff) | |
download | samba-f20cf610809d74aff58a3711a0405f243da5dce4.tar.gz samba-f20cf610809d74aff58a3711a0405f243da5dce4.tar.bz2 samba-f20cf610809d74aff58a3711a0405f243da5dce4.zip |
Add attribute macros for Heimdal to use
Heimdal uses HEIMDAL_NORETURN_ATTRIBUTE and HEIMDAL_PRINTF_ATTRIBUTE,
and we need to provide a link between these and Samba's function
attribute handling.
Andrew Bartlett
Diffstat (limited to 'source4/heimdal_build')
-rw-r--r-- | source4/heimdal_build/config.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/heimdal_build/config.h b/source4/heimdal_build/config.h index 611bf2fe0c..71ef3e983f 100644 --- a/source4/heimdal_build/config.h +++ b/source4/heimdal_build/config.h @@ -8,7 +8,9 @@ #include "include/config.h" #include "../replace/replace.h" - +#include "../lib/util/attr.h" +#define HEIMDAL_NORETURN_ATTRIBUTE _NORETURN_ +#define HEIMDAL_PRINTF_ATTRIBUTE(x) FORMAT_ATTRIBUTE(x) #define VERSIONLIST {"Lorikeet-Heimdal, Modified for Samba4"} #define VERSION "Samba" |