chiark
/
gitweb
/
~ian
/
secnet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16064e9
)
@@@ fake-mlib-bits
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 25 Sep 2019 19:37:08 +0000
(20:37 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 8 Dec 2019 00:38:42 +0000
(
00:38
+0000)
fake-mLib-bits.h
patch
|
blob
|
history
diff --git
a/fake-mLib-bits.h
b/fake-mLib-bits.h
index 3fa7ecb0bcfc16be38d2708d8090c543422cbac1..b316f225b669c8f78c67393fdd2c13852efa768c 100644
(file)
--- a/
fake-mLib-bits.h
+++ b/
fake-mLib-bits.h
@@
-33,15
+33,15
@@
#include "unaligned.h"
typedef uint8_t octet;
-typedef uint_fast32_t uint32;
-typedef uint_fast64_t uint64;
-#define HAVE_UINT64 1
+typedef uint32_t uint32;
+typedef uint64_t uint64;
+
+typedef int32_t int32;
+typedef int64_t int64;
#define LOAD32_L(p) (get_uint32_le(p))
#define STORE32_L(p, x) put_uint32_le((p), (x))
#define U32(x) ((uint32)(x) & 0xffffffffu)
-#define NEG_TWOC 1 /* assume two's complement */
-
#endif /* fake_mLib_bits_h */