mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Merge remote-tracking branch 'public/signof_enum'
This commit is contained in:
+1
-2
@@ -136,8 +136,7 @@ extern INLINE double U64_TO_DBL(uint64_t x) {
|
||||
#define DBL_TO_U64(x) ((uint64_t) (x))
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
/* XXXX024 we should instead have a more general check for "Is enum signed?"*/
|
||||
#ifdef ENUM_VALS_ARE_SIGNED
|
||||
#define ENUM_BF(t) unsigned
|
||||
#else
|
||||
/** Wrapper for having a bitfield of an enumerated type. Where possible, we
|
||||
|
||||
@@ -256,3 +256,4 @@
|
||||
#define CURVE25519_ENABLED
|
||||
#define USE_CURVE25519_DONNA
|
||||
|
||||
#define ENUM_VALS_ARE_SIGNED 1
|
||||
|
||||
Reference in New Issue
Block a user