aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-04-14 04:14:25 +0000
committerAlan Modra <amodra@gmail.com>2000-04-14 04:14:25 +0000
commit12ff5d5690066cac0467274b17afc1fbabaa04a4 (patch)
tree3355fa58a5ab1b682047c79aeabce6527ddaf5eb /gas
parent01cc8ff856f0530ce7333a7bdac283c51b0e4f5e (diff)
downloadgdb-12ff5d5690066cac0467274b17afc1fbabaa04a4.zip
gdb-12ff5d5690066cac0467274b17afc1fbabaa04a4.tar.gz
gdb-12ff5d5690066cac0467274b17afc1fbabaa04a4.tar.bz2
Portability fixes.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/as.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 4bbe674..903d21c 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
+
+ * as.h (SEEK_SET): Define if undefined.
+
2000-04-13 Alan Modra <alan@linuxcare.com.au>
* config/tc-arm.c (md_apply_fix3): Don't use UL suffix on
diff --git a/gas/as.h b/gas/as.h
index 2106b33..c8d3787 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -211,6 +211,10 @@ extern char **environ;
#define EXIT_FAILURE 1
#endif
+#ifndef SEEK_SET
+#define SEEK_SET 0
+#endif
+
#define obstack_chunk_alloc xmalloc
#define obstack_chunk_free xfree