Name

mk_check_sizeof — Check size of a type

Synopsis

MODULES="... compiler ..."

mk_check_sizeof TYPE=type

mk_check_sizeof type

Description

Runs a test for the size of type and sets result to the result. If the type cannot be found at all, configuration will be aborted.

This test will work in cross-compiling configurations. It will not work on types with sizes over 1024 bytes.