This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gas portability patch


One more portability patch! This one in gas. Again, I just did the same thing
other sourceware components do, so I don't see how this patch could be
problematic.

--
Michael Sokolov		Harhan Engineering Laboratory
Public Service Agent	International Free Computing Task Force
			International Engineering and Science Task Force
			615 N GOOD LATIMER EXPY STE #4
			DALLAS TX 75204-5852 USA

Phone: +1-214-824-7693 (Harhan Eng Lab office)
E-mail: msokolov@ivan.Harhan.ORG (ARPA TCP/SMTP) (UUCP coming soon)

2000-04-13  Michael Sokolov  <msokolov@ivan.Harhan.ORG>

	* as.h: define SEEK_SET if it isn't defined (copied from bfd), we use
	it and it isn't available on all systems.

Index: as.h
===================================================================
RCS file: /cvs/src/src/gas/as.h,v
retrieving revision 1.10
diff -c -3 -p -r1.10 as.h
*** as.h	2000/04/03 14:10:03	1.10
--- as.h	2000/04/13 21:09:40
*************** extern void *alloca ();
*** 100,105 ****
--- 100,108 ----
  /* for size_t, pid_t */
  #include <sys/types.h>
  #endif
+ #ifndef SEEK_SET
+ #define SEEK_SET 0
+ #endif
  
  #include <getopt.h>
  /* The first getopt value for machine-independent long options.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]