diff options
author | Roland McGrath <roland@gnu.org> | 1995-07-25 18:36:31 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-07-25 18:36:31 +0000 |
commit | 4356cfd7ad089329066cc2ebaaf9e1e982762537 (patch) | |
tree | cb65e7a9f8d081e79aafef2afedad03dfdc143a1 /stdlib | |
parent | 874f1b9bd817c0fa7e9fb231ec2e377c819d73a4 (diff) | |
download | glibc-4356cfd7ad089329066cc2ebaaf9e1e982762537.tar glibc-4356cfd7ad089329066cc2ebaaf9e1e982762537.tar.gz glibc-4356cfd7ad089329066cc2ebaaf9e1e982762537.tar.bz2 glibc-4356cfd7ad089329066cc2ebaaf9e1e982762537.zip |
* stdlib/strtol.c [_LIBC]: Define STDC_HEADERS.
* sysdeps/unix/sysv/ftime.S: New file.
* locale/locfile-parse.c (categories_write): Cast "" to char *.
* io/fcntl.h [__OPTIMIZE__] (creat): Macro removed.
* time/strftime.c: Use year modulo 100 for %y.
* time/sys/timeb.h: Add __BEGIN_DECLS and __END_DECLS.
* sysdeps/unix/snarf-ioctls (snarfexclude): Use two sed's instead
of one, to work around bug in sunos4.1.2 sed.
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/strtol.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/stdlib/strtol.c b/stdlib/strtol.c index 8c5bbc22be..42f7f24fe9 100644 --- a/stdlib/strtol.c +++ b/stdlib/strtol.c @@ -21,6 +21,11 @@ Cambridge, MA 02139, USA. */ # include <config.h> #endif +#ifdef _LIBC +# define USE_NUMBER_GROUPING +# define STDC_HEADERS +#endif + #include <ctype.h> #include <errno.h> #include <limits.h> @@ -34,10 +39,6 @@ Cambridge, MA 02139, USA. */ # endif #endif -#ifdef _LIBC -# define USE_NUMBER_GROUPING -#endif - #ifdef USE_NUMBER_GROUPING # include "../locale/localeinfo.h" #endif |