Commit 0487b51c by Jeff Law Committed by Jeff Law

os_defines.h: Prefix __strtoll and __strtoull declarations with __extension__.

        * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
        __strtoull declarations with __extension__.

From-SVN: r48516
parent 70f4f91c
Thu Jan 3 11:05:41 2002 Jeffrey A Law (law@redhat.com)
* config/os/hpux/bits/os_defines.h: Prefix __strtoll and
__strtoull declarations with __extension__.
2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com> 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
* testsuite/lib/prune.exp: Correct regular expression for * testsuite/lib/prune.exp: Correct regular expression for
......
...@@ -60,9 +60,9 @@ ...@@ -60,9 +60,9 @@
We also force _GLIBCPP_USE_LONG_LONG here so that we don't have We also force _GLIBCPP_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. */
namespace std { namespace std {
extern "C" long long strtoll (const char *, char **, int) __extension__ extern "C" long long strtoll (const char *, char **, int)
__asm ("__strtoll"); __asm ("__strtoll");
extern "C" unsigned long long strtoull (const char *, char **, int) __extension__ extern "C" unsigned long long strtoull (const char *, char **, int)
__asm ("__strtoull"); __asm ("__strtoull");
} }
#define _GLIBCPP_USE_LONG_LONG 1 #define _GLIBCPP_USE_LONG_LONG 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment