diff options
| author | joerg <joerg@NetBSD.org> | 2013-04-26 17:36:24 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2013-04-26 17:36:24 +0000 |
| commit | 5026f2ea1c2231b205222cfd5fe7c45aecaf9d41 (patch) | |
| tree | 73e8930d324023c39da4662da5cbec3c02e83c5c /include/stdlib.h | |
| parent | 1e631edeb5b3d40dd59a0c2c8b2bc3db5b0485cc (diff) | |
Provide the long long routines for C++11 code.
Diffstat (limited to 'include/stdlib.h')
| -rw-r--r-- | include/stdlib.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 9a0f70fc41c..06d1db8ae42 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -1,4 +1,4 @@ -/* $NetBSD: stdlib.h,v 1.104 2013/04/19 14:35:31 joerg Exp $ */ +/* $NetBSD: stdlib.h,v 1.105 2013/04/26 17:36:24 joerg Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -65,7 +65,7 @@ typedef struct { #if !defined(_ANSI_SOURCE) && \ (defined(_ISOC99_SOURCE) || (__STDC_VERSION__ - 0) >= 199901L || \ - defined(_NETBSD_SOURCE)) + (__cplusplus - 0) >= 201103L || defined(_NETBSD_SOURCE)) typedef struct { /* LONGLONG */ long long int quot; /* quotient */ @@ -207,7 +207,8 @@ char *ptsname(int); * ISO C99 */ #if defined(_ISOC99_SOURCE) || (__STDC_VERSION__ - 0) >= 199901L || \ - defined(_NETBSD_SOURCE) + defined(_NETBSD_SOURCE) || (__cplusplus - 0) >= 201103L + /* LONGLONG */ long long int atoll(const char *); /* LONGLONG */ |
