diff options
author | Peter Johnson <peter@tortall.net> | 2003-06-07 20:48:40 +0000 |
---|---|---|
committer | Peter Johnson <peter@tortall.net> | 2003-06-07 20:48:40 +0000 |
commit | cc3f9486f3d20902e79470bb1366617f23d7fc13 (patch) | |
tree | 2237cc6bbe5010444752de10c09155ba62e8bec9 /util.h | |
parent | f7be0f0fd7bcd0a39bc63b06ad6fa797a6ac599f (diff) | |
download | yasm-cc3f9486f3d20902e79470bb1366617f23d7fc13.tar.gz |
Simplify RCSID() definition.
svn path=/trunk/yasm/; revision=971
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -112,16 +112,10 @@ #ifdef __RCSID # define RCSID(s) __RCSID(s) +#elif defined(__GNUC__) && defined(__ELF__) +# define RCSID(s) __asm__(".ident\t\"" s "\"") #else -# ifdef __GNUC__ -# ifdef __ELF__ -# define RCSID(s) __asm__(".ident\t\"" s "\"") -# else -# define RCSID(s) static const char rcsid[] = s -# endif -# else -# define RCSID(s) static const char rcsid[] = s -# endif +# define RCSID(s) static const char rcsid[] = s #endif #ifdef WITH_DMALLOC |