From fce21e21d6e2f801932143a6f581b2de7bbcbc6e Mon Sep 17 00:00:00 2001 From: Olaf Barthel Date: Sun, 30 Jan 2005 09:48:06 +0000 Subject: [PATCH] - The functions in stdlib.h which require a compiler that supports the "long long" data type are no longer prototyped if the library is built for SAS/C. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14819 87f5fb63-7c3d-0410-a384-fd976d0f7a62 --- library/include/stdlib.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/library/include/stdlib.h b/library/include/stdlib.h index b4cd19a..5df1ffb 100644 --- a/library/include/stdlib.h +++ b/library/include/stdlib.h @@ -1,5 +1,5 @@ /* - * $Id: stdlib.h,v 1.5 2005-01-02 09:07:21 obarthel Exp $ + * $Id: stdlib.h,v 1.6 2005-01-30 09:48:06 obarthel Exp $ * * :ts=4 * @@ -149,8 +149,12 @@ extern long atol(const char *str); /****************************************************************************/ +/* These two functions are unavailable under SAS/C for lack of a + "long long" data type. */ +#if ! defined(__SASC) extern long long strtoll(const char *str, char **ptr, int base); extern unsigned long long strtoull(const char *str, char **ptr, int base); +#endif /* __SASC */ /****************************************************************************/