This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


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

V3 PATCH: Solaris configuration



We need to define __EXTENSIONS__ to get the Solaris headers to DTRT
for V3 with respect to defining various functions involving `long
long'.

It is likely (nearly certain) that this introduces non-standard names
into the global namespace -- but that is a minor consideration, for
now.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

2000-11-12  Mark Mitchell  <mark@codesourcery.com>

	* config/os/solaris/solaris2.7/bits/os_defines.h: Define
	__EXTENSIONS__.

Index: libstdc++-v3/config/os/solaris/solaris2.7/bits/os_defines.h
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/config/os/solaris/solaris2.7/bits/os_defines.h,v
retrieving revision 1.4
diff -c -p -r1.4 os_defines.h
*** os_defines.h	2000/10/31 01:56:18	1.4
--- os_defines.h	2000/11/13 00:12:34
***************
*** 34,39 ****
--- 34,40 ----
  // Need these to get sane definitions, esp. of 64-bit types and typedefs.
  #define _XOPEN_SOURCE        500
  #define _LARGEFILE64_SOURCE  1
+ #define __EXTENSIONS__
  
  // These are typedefs which libio assumes are already in place (because
  // they really are, under Linux).

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