diff options
author | Rickard Green <[email protected]> | 2009-12-11 16:55:07 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2009-12-11 16:55:07 +0000 |
commit | 4c67dcccfc6f03f7e19f934751f8274ed3b9cccc (patch) | |
tree | ea42190c4c6c2aa07abbeafa5208512ebb76eb65 /erts/emulator/beam/sys.h | |
parent | 9c35f074a9a8c2b713b53fb13cedc0746b1da150 (diff) | |
download | otp-4c67dcccfc6f03f7e19f934751f8274ed3b9cccc.tar.gz otp-4c67dcccfc6f03f7e19f934751f8274ed3b9cccc.tar.bz2 otp-4c67dcccfc6f03f7e19f934751f8274ed3b9cccc.zip |
OTP-8323 Miscellaneous cross compilation improvements. For example, one
new mandatory configuration variable that replaces all other
previously mandatory configuration variables, and better
documentation. Note that old cross compilation configurations
cannot be used without modifications.
For more information see the $ERL_TOP/xcomp/README file.
Diffstat (limited to 'erts/emulator/beam/sys.h')
-rw-r--r-- | erts/emulator/beam/sys.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/emulator/beam/sys.h b/erts/emulator/beam/sys.h index 71cb6a36cc..4b949523fa 100644 --- a/erts/emulator/beam/sys.h +++ b/erts/emulator/beam/sys.h @@ -239,6 +239,11 @@ EXTERN_FUNCTION(int, real_printf, (const char *fmt, ...)); ** Sint16: A signed integer of 16 bits exactly. */ +#if !((SIZEOF_VOID_P >= 4) && (SIZEOF_VOID_P == SIZEOF_SIZE_T) \ + && ((SIZEOF_VOID_P == SIZEOF_INT) || (SIZEOF_VOID_P == SIZEOF_LONG))) +#error Cannot handle this combination of int/long/void*/size_t sizes +#endif + #if SIZEOF_VOID_P == 8 #undef ARCH_32 #define ARCH_64 |