Allow simulators to be built on Linux

This commit is contained in:
Michael Meissner 1997-04-25 19:29:31 +00:00
parent 1416631f2f
commit 564e2a3fe9
1 changed files with 7 additions and 0 deletions

View File

@ -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)