Convert usages of errx to h_platform_errx
This BSD call will have to be implemented on windows. Right now we have a stub that just exits the process.
This commit is contained in:
parent
c8726244ae
commit
0c35525e30
10 changed files with 63 additions and 12 deletions
|
|
@ -18,11 +18,7 @@
|
|||
#ifndef HAMMER_HAMMER__H
|
||||
#define HAMMER_HAMMER__H
|
||||
|
||||
#if defined(__clang__) || defined(__GNUC__)
|
||||
#define H_GCC_ATTRIBUTE(x) __attribute__(x)
|
||||
#else
|
||||
#define H_GCC_ATTRIBUTE(x)
|
||||
#endif
|
||||
#include "compiler_specifics.h"
|
||||
|
||||
#ifndef HAMMER_INTERNAL__NO_STDARG_H
|
||||
#include <stdarg.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue