diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/ChangeLog | 4 | ||||
-rw-r--r-- | scripts/conf-riscos/include/config.h | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/scripts/ChangeLog b/scripts/ChangeLog index 71dda2a95..15304f363 100644 --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2002-06-07 Stefan Bellon <[email protected]> + + * conf-riscos/include/config.h [__riscos__]: Fixed macro bug. + 2002-05-10 Stefan Bellon <[email protected]> * conf-riscos/include/config.h [__riscos__]: Changes for later diff --git a/scripts/conf-riscos/include/config.h b/scripts/conf-riscos/include/config.h index 92e9ce53c..6a3440235 100644 --- a/scripts/conf-riscos/include/config.h +++ b/scripts/conf-riscos/include/config.h @@ -373,7 +373,8 @@ # define __attribute__(x) # if (__CC_NORCROFT_VERSION < 544) /* old version of Norcroft */ # define inline __inline -# define __func__ "[" __FILE__ ":" __LINE__ "]" +# define STR(a) #a +# define __func__ "[" __FILE__ ":" STR(__LINE__) "]" # endif #else /* gcc */ #endif |