diff options
author | jbj <devnull@localhost> | 2000-12-12 20:03:45 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2000-12-12 20:03:45 +0000 |
commit | db32ab6bea1b635129820d6b628e6156c61b5385 (patch) | |
tree | 055f7ee7d5e06ba0b3e858b82f639310b892503d /debug.h | |
parent | 2e9d2616969433851a1c883c900d6ea5acde67b7 (diff) | |
download | rpm-db32ab6bea1b635129820d6b628e6156c61b5385.tar.gz rpm-db32ab6bea1b635129820d6b628e6156c61b5385.tar.bz2 rpm-db32ab6bea1b635129820d6b628e6156c61b5385.zip |
Sync with rpm-4_0 branch.
CVS patchset: 4338
CVS date: 2000/12/12 20:03:45
Diffstat (limited to 'debug.h')
-rw-r--r-- | debug.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/debug.h b/debug.h new file mode 100644 index 000000000..44c8d6471 --- /dev/null +++ b/debug.h @@ -0,0 +1,20 @@ +/** + * To be included after all other includes. + */ +#ifndef H_DEBUG +#define H_DEBUG + +#include <assert.h> + +#ifdef __LCLINT__ +#define ntohl(_x) (_x) +#define ntohs(_x) (_x) +#define htonl(_x) (_x) +#define htons(_x) (_x) +#endif + +#ifdef DMALLOC +#include <dmalloc.h> +#endif + +#endif /* H_DEBUG */ |