From 3074d45c25a253e2b9d18ebb725495d07ce7f507 Mon Sep 17 00:00:00 2001 From: Jeffrey Lee Date: Sun, 8 May 2016 21:29:37 +0000 Subject: [PATCH] GET a header dependency Detail: hdr/Macros - Several macros now depend on Hdr:CPU.Arch, and it's reasonable to assume more architecture-specific optimisations will be made in future, so make sure we GET that header if necessary Admin: Tested on Raspberry Pi Fixes issues building components that GET Hdr:Macros but not Hdr:CPU.Arch, e.g. DivRem usage in several HALs Version 2.61. Tagged as 'HdrSrc-2_61' --- VersionNum | 14 +++++++------- hdr/Macros | 4 ++++ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/VersionNum b/VersionNum index 2bf2889..10628ce 100644 --- a/VersionNum +++ b/VersionNum @@ -1,15 +1,15 @@ -/* (2.60) +/* (2.61) * * This file is automatically maintained by srccommit, do not edit manually. * Last processed by srccommit version: 1.1. * */ -#define Module_MajorVersion_CMHG 2.60 +#define Module_MajorVersion_CMHG 2.61 #define Module_MinorVersion_CMHG #define Module_Date_CMHG 08 May 2016 -#define Module_MajorVersion "2.60" -#define Module_Version 260 +#define Module_MajorVersion "2.61" +#define Module_Version 261 #define Module_MinorVersion "" #define Module_Date "08 May 2016" @@ -18,6 +18,6 @@ #define Module_ComponentName "HdrSrc" #define Module_ComponentPath "castle/RiscOS/Sources/Programmer/HdrSrc" -#define Module_FullVersion "2.60" -#define Module_HelpVersion "2.60 (08 May 2016)" -#define Module_LibraryVersionInfo "2:60" +#define Module_FullVersion "2.61" +#define Module_HelpVersion "2.61 (08 May 2016)" +#define Module_LibraryVersionInfo "2:61" diff --git a/hdr/Macros b/hdr/Macros index 8d15136..4e63f27 100644 --- a/hdr/Macros +++ b/hdr/Macros @@ -17,6 +17,10 @@ OldOpt SETA {OPT} OPT OptNoList+OptNoP1List + [ :LNOT: :DEF: Included_Hdr_CPU_Arch + GET Hdr:CPU.Arch + ] + ; *********************************** ; *** C h a n g e L i s t *** ; *********************************** -- GitLab