-Changed variable types so they're more portable

This commit is contained in:
cyberwarriorx 2006-04-10 02:22:38 +00:00
parent 65e81946a7
commit 202c3d7065
1 changed files with 3 additions and 5 deletions

View File

@ -21,17 +21,15 @@
#define TYPES_HPP
#ifndef FASTCALL
#ifdef __i386__
#ifdef __MINGW32__
#define FASTCALL __attribute__((fastcall))
#elif defined (__i386__)
#define FASTCALL __attribute__((regparm(3)))
#else
#define FASTCALL
#endif
#endif
#ifndef __fastcall
#define __fastcall FASTCALL
#endif
#ifndef INLINE
#ifdef _MSC_VER
#define INLINE _inline