Fix issues with type_name on Win64 build

Both size_t and unsigned long long are aliases for
unsigned __int64 on Win64, and causes a duplicate definition.
Replacing all the integer type_name definitions with stdint.h
names should avoid this problem.
This commit is contained in:
Niels Martin Hansen 2015-01-20 02:09:59 +01:00
parent b97ea87b4c
commit 2986932f31

View file

@ -28,11 +28,12 @@ AGI_DEFINE_TYPE_NAME(bool);
AGI_DEFINE_TYPE_NAME(char);
AGI_DEFINE_TYPE_NAME(double);
AGI_DEFINE_TYPE_NAME(float);
AGI_DEFINE_TYPE_NAME(int);
AGI_DEFINE_TYPE_NAME(long long);
AGI_DEFINE_TYPE_NAME(long);
AGI_DEFINE_TYPE_NAME(size_t);
AGI_DEFINE_TYPE_NAME(unsigned long long);
AGI_DEFINE_TYPE_NAME(int16_t);
AGI_DEFINE_TYPE_NAME(int32_t);
AGI_DEFINE_TYPE_NAME(int64_t);
AGI_DEFINE_TYPE_NAME(uint16_t);
AGI_DEFINE_TYPE_NAME(uint32_t);
AGI_DEFINE_TYPE_NAME(uint64_t);
AGI_DEFINE_TYPE_NAME(void);
#undef AGI_TYPE_NAME_PRIMITIVE