diff options
author | Michael Meissner <gnu@the-meissners.org> | 1997-04-25 19:29:31 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1997-04-25 19:29:31 +0000 |
commit | 564e2a3fe9e4ab89e76d10015beae33bd2950faf (patch) | |
tree | b7181d65826a23dc563407187676511a4e8a12cf /sim/common/sim-n-bits.h | |
parent | 1416631f2f93e8546ed33274ee4bfca068008cb0 (diff) | |
download | gdb-564e2a3fe9e4ab89e76d10015beae33bd2950faf.zip gdb-564e2a3fe9e4ab89e76d10015beae33bd2950faf.tar.gz gdb-564e2a3fe9e4ab89e76d10015beae33bd2950faf.tar.bz2 |
Allow simulators to be built on Linux
Diffstat (limited to 'sim/common/sim-n-bits.h')
-rw-r--r-- | sim/common/sim-n-bits.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sim/common/sim-n-bits.h b/sim/common/sim-n-bits.h index bb78779..85184e7 100644 --- a/sim/common/sim-n-bits.h +++ b/sim/common/sim-n-bits.h @@ -26,6 +26,13 @@ #include "sim-xcat.h" +#ifdef __STDC__ +/* If signed were defined to be say __signed (ie, some versions of Linux), + then the signedN macro would not work correctly. If we have a standard + compiler, we have signed. */ +#undef signed +#endif + /* NOTE: See end of file for #undef */ #define unsignedN XCONCAT2(unsigned,N) #define signedN XCONCAT2(signed,N) |