projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1416631
)
Allow simulators to be built on Linux
author
Michael Meissner
<gnu@the-meissners.org>
Fri, 25 Apr 1997 19:29:31 +0000
(19:29 +0000)
committer
Michael Meissner
<gnu@the-meissners.org>
Fri, 25 Apr 1997 19:29:31 +0000
(19:29 +0000)
sim/common/sim-n-bits.h
patch
|
blob
|
history
diff --git
a/sim/common/sim-n-bits.h
b/sim/common/sim-n-bits.h
index bb787794b036fb4da85d5164dd6930cb68b512fa..85184e734620af7e8e75e8327f97624a75f94652 100644
(file)
--- 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)