From ff92e0ae816440b81ecb46215717a376a77491be Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Sat, 28 Jan 2017 15:18:09 +0100 Subject: [PATCH] Fix invalid octal number in expansion of macro MING_VERSION_CODE GCC 5.4.0 was complaining about it --- testsuite/misc-ming.all/ming_utils.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/testsuite/misc-ming.all/ming_utils.h b/testsuite/misc-ming.all/ming_utils.h index 42be9feb4..dd6c6186d 100644 --- a/testsuite/misc-ming.all/ming_utils.h +++ b/testsuite/misc-ming.all/ming_utils.h @@ -23,7 +23,7 @@ #include -#if MING_VERSION_CODE >= 00040004 +#if MING_VERSION_CODE >= 40004 # define MING_SUPPORTS_INIT_ACTIONS #endif @@ -40,9 +40,9 @@ void SWFMovie_writeExports(SWFMovie movie); * A cleaner approach is likely switch to * using newSWFAction always and change the * macro to make it output compileSWFActionCode - * when MING_VERSION_CODE < 000040004 + * when MING_VERSION_CODE < 40004 */ -#if MING_VERSION_CODE >= 00040004 +#if MING_VERSION_CODE >= 40004 # define compileSWFActionCode newSWFAction #else # define newSWFAction compileSWFActionCode @@ -53,7 +53,7 @@ void SWFMovie_writeExports(SWFMovie movie); * and replaced by 'call'. Before that version 'call' would * never be recognized as a "callframe" action */ -#if MING_VERSION_CODE >= 00040006 +#if MING_VERSION_CODE >= 40006 # define CALLFRAME "call" #else # define CALLFRAME "callFrame" -- 2.11.4.GIT