Fix stdint.h dependency in slvs.h.
Since SolveSpace's config.h is not exported, we cannot depend on HAVE_C99_INTEGER_TYPES or similar variables. It's simplest to just define it from scratch in the same way as MSVC does.
This commit is contained in:
parent
5894efcfe5
commit
55e2d6b06d
@ -24,8 +24,10 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(WIN32) && !defined(HAVE_C99_INTEGER_TYPES)
|
#ifdef _MSC_VER
|
||||||
typedef UINT32 uint32_t;
|
typedef unsigned __int32 uint32_t;
|
||||||
|
#else
|
||||||
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef uint32_t Slvs_hParam;
|
typedef uint32_t Slvs_hParam;
|
||||||
|
Loading…
Reference in New Issue
Block a user