mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
sim: common: use #error properly
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2021-01-12 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* sim-profile.h [!WITH_PROFILE]: Rewrite to use #error.
|
||||
|
||||
2021-01-11 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* acinclude.m4 (SIM_AC_OUTPUT): Require SIM_AC_OPTION_WARNINGS.
|
||||
|
||||
@@ -21,7 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
#define SIM_PROFILE_H
|
||||
|
||||
#ifndef WITH_PROFILE
|
||||
Error, WITH_PROFILE not defined.
|
||||
#error "WITH_PROFILE not defined"
|
||||
#endif
|
||||
|
||||
/* Standard profilable entities. */
|
||||
|
||||
Reference in New Issue
Block a user