Enable fcarch assert checks even when FC_ARCHITECTURE is explicitly given

After all, if the asserts fail, the resulting library simply can't be
working correctly.
This commit is contained in:
Behdad Esfahbod 2012-12-31 17:20:29 -06:00
parent a0638ff0c7
commit b1630dc00e
1 changed files with 0 additions and 9 deletions

View File

@ -28,13 +28,6 @@
#endif
#include "fcint.h"
/* If architecture is hardcoded, skip the assert tests */
#ifndef FC_ARCHITECTURE
/* Make sure the cache structure is consistent with what we expect */
#include "fcarch.h"
FC_ASSERT_STATIC (1 == sizeof (char));
@ -62,8 +55,6 @@ FC_ASSERT_STATIC (0x08 + 2*SIZEOF_VOID_P == sizeof (FcPattern));
FC_ASSERT_STATIC (0x08 + 2*SIZEOF_VOID_P == sizeof (FcCharSet));
FC_ASSERT_STATIC (0x08 + 6*SIZEOF_VOID_P == sizeof (FcCache));
#endif
int
main (int argc FC_UNUSED, char **argv FC_UNUSED)