aboutsummaryrefslogtreecommitdiff
path: root/gas/config/ho-sunos.h
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1991-10-16 08:56:25 +0000
committerK. Richard Pixley <rich@cygnus>1991-10-16 08:56:25 +0000
commitd93912533eadaab26e0534efaf910b9621d35746 (patch)
tree2963d50f1b13c4c509f26c8b6add940dac2d928d /gas/config/ho-sunos.h
parent5dfddc7fc68caf6e83f3dc223c3c129561f6d152 (diff)
downloadgdb-d93912533eadaab26e0534efaf910b9621d35746.zip
gdb-d93912533eadaab26e0534efaf910b9621d35746.tar.gz
gdb-d93912533eadaab26e0534efaf910b9621d35746.tar.bz2
Shift positions on memory.h. Seems gcc has changed.
Diffstat (limited to 'gas/config/ho-sunos.h')
-rw-r--r--gas/config/ho-sunos.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/config/ho-sunos.h b/gas/config/ho-sunos.h
index 413d3d1..81c067c 100644
--- a/gas/config/ho-sunos.h
+++ b/gas/config/ho-sunos.h
@@ -4,10 +4,10 @@
#define NO_STDARG
#endif /* not __STDC__ */
-#ifndef __GNUC__
-#ifndef __STDC__
+#if !defined(__GNUC__) & !defined(__STDC__)
#include <memory.h>
-#endif
+#else
+extern int memset();
#endif
#include <ctype.h>