eserte / perl-tk

the perl module Tk
https://metacpan.org/release/Tk
Other
44 stars 31 forks source link

myConfig: add ability to define HAVE_INTTYPES_H #72

Closed chrstphrchvz closed 3 years ago

chrstphrchvz commented 3 years ago

The effect of this is that the installed tkConfig.h may contain #define HAVE_INTTYPES_H 1, which extensions can check before including .

Specifically, I would like to see if there is a way to use intptr_t and uintptr_t (from ) in Tk::TableMatrix to resolve some compiler warnings using the approach common in newer Tcl/Tk C code: see asb-capfan/Tk-TableMatrix#3. But I would also need to figure out how to check for intptr_t/uintptr_t, as these types are not mandatory for inttypes.h, and Config.pm does not seem to already check for them.