XFLAIM. Changes to remove 1-byte packing (zp1) flags from build.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@988 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
ahodgkinson
2006-10-12 18:59:06 +00:00
parent 22de0f0003
commit 7ee554d5ae
4 changed files with 16 additions and 5 deletions

View File

@@ -379,6 +379,7 @@
#if !defined( FLM_UNIX) && !defined( FLM_64BIT)
#define FLM_PACK_STRUCTS
#ifdef FLM_WIN
// For some reason, Windows emits a warning when the packing
// is changed.

View File

@@ -6201,9 +6201,12 @@ RCODE ftkTestBTree( void)
goto Exit;
}
}
f_assert( uiKeyLen == sizeof( ucKey));
f_assert( ui32Loop == f_bigEndianToUINT32( ucKey));
if( uiKeyLen != sizeof( ucKey) || ui32Loop != f_bigEndianToUINT32( ucKey))
{
rc = RC_SET_AND_ASSERT( NE_FLM_FAILURE);
goto Exit;
}
}
Exit: