committed patch for correct typecasting

This commit is contained in:
David Anderson
2006-02-26 05:03:05 +00:00
parent bf8cf574e0
commit a43a3b0803
3 changed files with 13 additions and 2 deletions

View File

@@ -88,6 +88,17 @@ extern AMX_NATIVE_INFO vault_Natives[];
#define DLFREE(m) dlclose(m)
#endif
#if defined __GNUC__
#include <stdint.h>
typedef intptr_t _INT_PTR;
#else
#if defined AMD64
typedef __int64 _INT_PTR;
#else
typedef __int32 _INT_PTR;
#endif
#endif
#ifndef __linux__
typedef HINSTANCE DLHANDLE;
#else