mirror of git://gcc.gnu.org/git/gcc.git
os_defines.h: Update to avoid #defines for strtoll and strtoull.
* config/os/hpux/bits/os_defines.h: Update to avoid #defines
for strtoll and strtoull.
From-SVN: r48271
This commit is contained in:
parent
4891442b1f
commit
d599b3fc8a
|
|
@ -1,3 +1,8 @@
|
||||||
|
Sat Dec 22 09:52:41 2001 Jeffrey A Law (law@redhat.com)
|
||||||
|
|
||||||
|
* config/os/hpux/bits/os_defines.h: Update to avoid #defines
|
||||||
|
for strtoll and strtoull.
|
||||||
|
|
||||||
Fri Dec 21 17:35:21 2001 Jeffrey A Law (law@redhat.com)
|
Fri Dec 21 17:35:21 2001 Jeffrey A Law (law@redhat.com)
|
||||||
|
|
||||||
* config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
|
* config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
|
||||||
|
|
|
||||||
|
|
@ -61,8 +61,12 @@
|
||||||
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. */
|
||||||
#include <sys/_inttypes.h>
|
#include <sys/_inttypes.h>
|
||||||
#define strtoll __strtoll
|
namespace std {
|
||||||
#define strtoull __strtoull
|
extern "C" long long strtoll (const char *, char **, int)
|
||||||
|
__asm ("__strtoll");
|
||||||
|
extern "C" long long strtoull (const char *, char **, int)
|
||||||
|
__asm ("__strtoull");
|
||||||
|
}
|
||||||
extern intmax_t __strtoll (const char *, char**, int);
|
extern intmax_t __strtoll (const char *, char**, int);
|
||||||
extern uintmax_t __strtoull (const char *, char**, int);
|
extern uintmax_t __strtoull (const char *, char**, int);
|
||||||
#define _GLIBCPP_USE_LONG_LONG 1
|
#define _GLIBCPP_USE_LONG_LONG 1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue