|
Odamex
Setting the Standard in Multiplayer Doom
|
00001 // Emacs style mode select -*- C++ -*- 00002 //----------------------------------------------------------------------------- 00003 // 00004 // $Id: typedefs.h 2163 2011-05-07 19:44:07Z hypereye $ 00005 // 00006 // Copyright (C) 2006-2010 by The Odamex Team. 00007 // 00008 // This program is free software; you can redistribute it and/or 00009 // modify it under the terms of the GNU General Public License 00010 // as published by the Free Software Foundation; either version 2 00011 // of the License, or (at your option) any later version. 00012 // 00013 // This program is distributed in the hope that it will be useful, 00014 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 // GNU General Public License for more details. 00017 // 00018 // DESCRIPTION: 00019 // Type Definitions 00020 // 00021 // AUTHORS: 00022 // Michael Wood (mwoodj at huntsvegas dot org) 00023 // 00024 //----------------------------------------------------------------------------- 00025 00026 #ifndef _TYPEDEFS_H 00027 #define _TYPEDEFS_H 00028 00035 namespace agOdalaunch { 00036 00037 #ifdef _MSC_VER 00038 typedef signed __int8 int8_t; 00039 typedef signed __int16 int16_t; 00040 typedef signed __int32 int32_t; 00041 typedef unsigned __int8 uint8_t; 00042 typedef unsigned __int16 uint16_t; 00043 typedef unsigned __int32 uint32_t; 00044 typedef signed __int64 int64_t; 00045 typedef unsigned __int64 uint64_t; 00046 #else 00047 #include <stdint.h> 00048 #endif 00049 00050 } // namespace 00051 00052 #endif