diff options
author | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-04-27 13:39:41 +0000 |
---|---|---|
committer | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-04-27 13:39:41 +0000 |
commit | 55a5e9a51345fadf72f9cd2fb955a713bf27ea2f (patch) | |
tree | c9973cc5b00f41b12e3d6e313c4dffd3025daf32 /code/qcommon/q_shared.h | |
parent | 4b70806fcb6735314cf79557ce84379fa7542cad (diff) | |
download | ioquake3-aero-55a5e9a51345fadf72f9cd2fb955a713bf27ea2f.tar.gz ioquake3-aero-55a5e9a51345fadf72f9cd2fb955a713bf27ea2f.zip |
- Introduced various new typedefs for windows platform (int32_t, int64_t, etc...)
- Applied md5 64-bit safety patch by Tony White.
git-svn-id: svn://svn.icculus.org/quake3/trunk@727 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon/q_shared.h')
-rw-r--r-- | code/qcommon/q_shared.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/code/qcommon/q_shared.h b/code/qcommon/q_shared.h index f66ab23..3fc713d 100644 --- a/code/qcommon/q_shared.h +++ b/code/qcommon/q_shared.h @@ -109,10 +109,19 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA //============================================================= #ifdef Q3_VM -typedef int intptr_t; + typedef int intptr_t; #else # ifndef _MSC_VER # include <stdint.h> +# else + typedef __int64 int64_t; + typedef __int32 int32_t; + typedef __int16 int16_t; + typedef __int8 int8_t; + typedef unsigned __int64 uint64_t; + typedef unsigned __int32 uint32_t; + typedef unsigned __int16 uint16_t; + typedef unsigned __int8 uint8_t; # endif #endif |