fix error C2733: "second C linkage of overloaded function not allowed" (#160)

I consistently get the error "second C linkage of overloaded function not allowed".  Changing uint32_t to unsigned long to make the function declaration match it's original fixes this issue for me.
This commit is contained in:
Rico P
2017-09-29 17:58:40 +02:00
committed by Branimir Karadžić
parent db18c3b854
commit 51ab1658ea

View File

@@ -8,7 +8,7 @@
#include <bx/readerwriter.h>
#if BX_PLATFORM_WINDOWS
extern "C" __declspec(dllimport) uint32_t __stdcall GetTempPathA(uint32_t _max, char* _ptr);
extern "C" __declspec(dllimport) unsigned long __stdcall GetTempPathA(unsigned long _max, char* _ptr);
#endif // BX_PLATFORM_WINDOWS
namespace bx