Replace #warning with #error

This commit is contained in:
Alan Modra
2000-12-11 03:43:05 +00:00
parent a239df7f57
commit 38a353ab16
2 changed files with 6 additions and 2 deletions

View File

@ -45,7 +45,7 @@ struct external_filehdr {
/* This value is made available in the rare case where a bfd is unavailable */
#ifndef OCTETS_PER_BYTE_POWER
#warning OCTETS_PER_BYTE_POWER not defined for this CPU, it will default to 0
#error "OCTETS_PER_BYTE_POWER not defined for this CPU"
#else
#define OCTETS_PER_BYTE (1<<OCTETS_PER_BYTE_POWER)
#endif