mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-19 02:00:26 +02:00
Define HAVE_UINTPTR_T, HAVE_PTRDIFF_T and HAVE_LONG_LONG depending on
whether their size is non-zero.
This commit is contained in:
parent
35656ebcef
commit
fdf773fa8f
1 changed files with 13 additions and 0 deletions
|
@ -293,6 +293,19 @@
|
||||||
* - ... add more
|
* - ... add more
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if SIZEOF_UINTPTR_T != 0
|
||||||
|
#define HAVE_UINTPTR_T
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if SIZEOF_PTRDIFF_T != 0
|
||||||
|
#define HAVE_PTRDIFF_T
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if SIZEOF_LONG_LONG != 0
|
||||||
|
#define HAVE_LONG_LONGS
|
||||||
|
#define HAVE_LONG_LONG
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_PTRDIFF_T
|
#ifndef HAVE_PTRDIFF_T
|
||||||
typedef long ptrdiff_t;
|
typedef long ptrdiff_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue