projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
imaxdiv: Avoid link error on OSF/1 with DTK cc.
[gnulib.git]
/
lib
/
inttypes.in.h
diff --git
a/lib/inttypes.in.h
b/lib/inttypes.in.h
index
2f8fd14
..
7abf394
100644
(file)
--- a/
lib/inttypes.in.h
+++ b/
lib/inttypes.in.h
@@
-1060,7
+1060,10
@@
_GL_WARN_ON_USE (imaxabs, "imaxabs is unportable - "
#if @GNULIB_IMAXDIV@
# if !@HAVE_DECL_IMAXDIV@
#if @GNULIB_IMAXDIV@
# if !@HAVE_DECL_IMAXDIV@
+# if !GNULIB_defined_imaxdiv_t
typedef struct { intmax_t quot; intmax_t rem; } imaxdiv_t;
typedef struct { intmax_t quot; intmax_t rem; } imaxdiv_t;
+# define GNULIB_defined_imaxdiv_t 1
+# endif
extern imaxdiv_t imaxdiv (intmax_t, intmax_t);
# endif
#elif defined GNULIB_POSIXCHECK
extern imaxdiv_t imaxdiv (intmax_t, intmax_t);
# endif
#elif defined GNULIB_POSIXCHECK
@@
-1073,6
+1076,7
@@
_GL_WARN_ON_USE (imaxdiv, "imaxdiv is unportable - "
#if @GNULIB_STRTOIMAX@
# if !@HAVE_DECL_STRTOIMAX@
#if @GNULIB_STRTOIMAX@
# if !@HAVE_DECL_STRTOIMAX@
+# undef strtoimax
extern intmax_t strtoimax (const char *, char **, int) _GL_ARG_NONNULL ((1));
# endif
#elif defined GNULIB_POSIXCHECK
extern intmax_t strtoimax (const char *, char **, int) _GL_ARG_NONNULL ((1));
# endif
#elif defined GNULIB_POSIXCHECK
@@
-1085,6
+1089,7
@@
_GL_WARN_ON_USE (strtoimax, "strtoimax is unportable - "
#if @GNULIB_STRTOUMAX@
# if !@HAVE_DECL_STRTOUMAX@
#if @GNULIB_STRTOUMAX@
# if !@HAVE_DECL_STRTOUMAX@
+# undef strtoumax
extern uintmax_t strtoumax (const char *, char **, int) _GL_ARG_NONNULL ((1));
# endif
#elif defined GNULIB_POSIXCHECK
extern uintmax_t strtoumax (const char *, char **, int) _GL_ARG_NONNULL ((1));
# endif
#elif defined GNULIB_POSIXCHECK