mirror of git://gcc.gnu.org/git/gcc.git
PR libstdc++/47560 try two
2011-02-07 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/47560 try two * config/os/hpux/os_defines.h: Guard for C++. From-SVN: r169897
This commit is contained in:
parent
0f4e946fbd
commit
a10b8e2915
|
@ -1,3 +1,8 @@
|
||||||
|
2011-02-07 Benjamin Kosnik <bkoz@redhat.com>
|
||||||
|
|
||||||
|
PR libstdc++/47560 try two
|
||||||
|
* config/os/hpux/os_defines.h: Guard for C++.
|
||||||
|
|
||||||
2011-02-07 Gerald Pfeifer <gerald@pfeifer.com>
|
2011-02-07 Gerald Pfeifer <gerald@pfeifer.com>
|
||||||
|
|
||||||
* doc/xml/faq.xml: Adjust link to bug database.
|
* doc/xml/faq.xml: Adjust link to bug database.
|
||||||
|
|
|
@ -58,10 +58,11 @@
|
||||||
We also force _GLIBCXX_USE_LONG_LONG here so that we don't have
|
We also force _GLIBCXX_USE_LONG_LONG here so that we don't have
|
||||||
to bastardize configure to deal with this sillyness. */
|
to bastardize configure to deal with this sillyness. */
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
namespace std
|
namespace std
|
||||||
{
|
{
|
||||||
_GLIBCXX_BEGIN_EXTERN_C
|
extern "C"
|
||||||
|
{
|
||||||
#ifndef __LP64__
|
#ifndef __LP64__
|
||||||
__extension__ long long strtoll (const char *, char **, int)
|
__extension__ long long strtoll (const char *, char **, int)
|
||||||
__asm ("__strtoll");
|
__asm ("__strtoll");
|
||||||
|
@ -73,9 +74,9 @@ _GLIBCXX_BEGIN_EXTERN_C
|
||||||
__extension__ unsigned long long strtoull (const char *, char **, int)
|
__extension__ unsigned long long strtoull (const char *, char **, int)
|
||||||
__asm ("strtoul");
|
__asm ("strtoul");
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
_GLIBCXX_END_EXTERN_C
|
|
||||||
} // namespace std
|
} // namespace std
|
||||||
|
#endif // __cplusplus
|
||||||
|
|
||||||
#define _GLIBCXX_USE_LONG_LONG 1
|
#define _GLIBCXX_USE_LONG_LONG 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue