make inttypes.h optional#345
Conversation
`inttypes.h` isn't available in certain environments, but instead of relying on CMake to create a fake local copy, let's handle the matter in the source code, and let it work with any build system. If `HAVE_INTTYPES_H` is defined, `inttypes.h` will be used, otherwise the required values will be defined locally.
|
Can the condition be inverted (i.e. have NO_INTTYPES_H_ instead)? I think the default should be to assume a sane environment, and have the define available for those that need it. |
|
Speaking of toolchain features, to me the |
|
I’m on vacation so I will take a look when I get back. |
Remove creating dummy inttypes.h. #345
|
Sorry I did not merge your changes. I wasn't sure at the beginning I was going to do it so similar as your changes. Anyways it should be solved now. Thanks. |
inttypes.hisn't available in certain environments, but instead of relying on CMake to create a fake local copy, let's handle the matter in the source code, and let it work with any build system. IfHAVE_INTTYPES_His defined,inttypes.hwill be used, otherwise the required values will be defined locally.