2014-04-09 16:24 GMT+02:00 Bill Hart <goodwillh...@googlemail.com>:
> Yeah, as I said, they get defined only if you first do:
>
> #define __STDC_LIMIT_MACROS 1
It seems I don't need this define on my setup (unless I misunderstood you):

$ cat bla.c
#include <stdint.h>
#include <limits.h>

#pragma message LONG_MAX
#pragma message INTMAX_MAX
#pragma message __STDC_LIMIT_MACROS
#if LONG_MAX == INTMAX_MAX
#pragma message eq
#endif

$cpp bla.c
...
# 4 "bla.c"
#pragma message 9223372036854775807L
# 4 "bla.c"


# 5 "bla.c"
#pragma message (9223372036854775807L)
# 5 "bla.c"


# 6 "bla.c"
#pragma message __STDC_LIMIT_MACROS
# 6 "bla.c"



# 8 "bla.c"
#pragma message eq
# 8 "bla.c"

-- 
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mpir-devel+unsubscr...@googlegroups.com.
To post to this group, send email to mpir-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/mpir-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to