[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: determine base type of a typedef
From: |
Vivien Kraus |
Subject: |
Re: determine base type of a typedef |
Date: |
Fri, 23 Oct 2020 09:00:38 +0200 |
User-agent: |
Evolution 3.34.2 |
Hello Anatoli,
Le jeudi 22 octobre 2020 à 19:23 -0300, Anatoli a écrit :
> #if (AC_TYPE(time_t) == "long long int")
> #define TIME_T_FMT "%lld"
> #elif (AC_TYPE(time_t) == "long int")
> #define TIME_T_FMT "%ld"
> #else
> #error dont know what to use for TIME_T_FMT
> #endif
Is it not possible to always use "%lld" and always convert the
arguments to (long long int)?
Best regards,
divoplade
- Re: determine base type of a typedef, (continued)
Re: determine base type of a typedef, Paul Eggert, 2020/10/23
Re: determine base type of a typedef, Anatoli, 2020/10/25
Re: determine base type of a typedef, Paul Eggert, 2020/10/25
Re: determine base type of a typedef,
Vivien Kraus <=