This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] bfd/configure.host: add define for nto host.


Hello,

I would like to add this simple patch to bfd/configure.host. It adds a define for nto hosts; our stdio.h needs _LARGEFILE64_SOURCE to be defined in order to declare fopen64 function.

Thanks,

Aleksandar Ristovski
QNX Software Systems


ChangeLog:


* configure.host: Add _LARGEFILE64_SOURCE define for nto host.
Index: bfd/configure.host
===================================================================
RCS file: /cvs/src/src/bfd/configure.host,v
retrieving revision 1.17
diff -u -p -r1.17 configure.host
--- bfd/configure.host	30 Dec 2005 22:25:57 -0000	1.17
+++ bfd/configure.host	23 Oct 2008 17:13:38 -0000
@@ -75,4 +75,6 @@ m68*-hp-hpux*)		HDEFINES=-DHOST_HP300HPU
 			ac_cv_header_sys_time_h=no
 			ac_cv_header_unistd_h=no
 			;;
+nto*-*-*)		HDEFINES=-D_LARGEFILE64_SOURCE
+			;;
 esac

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