* gdb/defs.h: unconditionally include <fcntl.h>, and

ensure that O_BINARY is defined.
	* gdb/solib.c(solib_open): ensure solib files are opened in
	binary mode.
	* gdb/corelow.c: Remove O_BINARY macro definition.
	* gdb/exec.c: Remove O_BINARY macro definition
	* gdb/remote-rdp.c: Remove O_BINARY macro definition
	* gdb/source.c: Remove O_BINARY macro definition
	* gdb/symfile.c: Remove O_BINARY macro definition
This commit is contained in:
Charles Wilson
2006-02-25 04:36:39 +00:00
parent 83d634e3da
commit 637d6690a8
8 changed files with 30 additions and 21 deletions

View File

@ -60,9 +60,6 @@
#include <time.h>
#include <sys/time.h>
#ifndef O_BINARY
#define O_BINARY 0
#endif
int (*deprecated_ui_load_progress_hook) (const char *section, unsigned long num);
void (*deprecated_show_load_progress) (const char *section,