mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-18 17:50:29 +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
|
||||
*/
|
||||
|
||||
#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
|
||||
typedef long ptrdiff_t;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue