mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-01 08:48:29 +00:00
Make redbean serialization deterministic
This commit is contained in:
parent
85aecbda67
commit
c9e68b0ebc
15 changed files with 452 additions and 150 deletions
11
libc/log/rop.h
Normal file
11
libc/log/rop.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_LOG_ROP_H_
|
||||
#define COSMOPOLITAN_LIBC_LOG_ROP_H_
|
||||
|
||||
#define RETURN_ON_ERROR(expr) \
|
||||
do { \
|
||||
if ((expr) == -1) { \
|
||||
goto OnError; \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_LOG_ROP_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue