farbrausch/fr_public — pull request #9 by png85 (2012-04-19 03:48:29+00:00)
Title: Make use of stdint.h if available on target platform

This changeset adds a platform check for the availability of stdint.h for cross-platform integer types of fixed width and rewrites types.hpp to make use of them if possible.

Note: Since the platform-specific check kind of breaks the Visual Studio build i've also removed the solution and project files. They can be re-generated through CMake any time but this needs to be done separately for each target platform (on Windows systems it'll yield a VS solution or MinGW makefiles, most unix flavors will get GNU Makefiles, etc.). The platform specific checks will be run during this generation step and a header named 'config.h' with #define's for each feature will be created from the results. Currently this is only used to check wether the target platform provides the stdint header but it could be utilized for just about any header/library in the future.