mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
explicit short sizeof assumption
This commit is contained in:
parent
4d351c23f7
commit
455f841fa7
@ -35,6 +35,7 @@
|
||||
#define assert MONGO_assert
|
||||
|
||||
// make sure our assumptions are valid
|
||||
BOOST_STATIC_ASSERT( sizeof(short) == 2 );
|
||||
BOOST_STATIC_ASSERT( sizeof(int) == 4 );
|
||||
BOOST_STATIC_ASSERT( sizeof(long long) == 8 );
|
||||
BOOST_STATIC_ASSERT( sizeof(double) == 8 );
|
||||
|
Loading…
Reference in New Issue
Block a user