23 |
* along with this program; if not, write to the Free Software |
* along with this program; if not, write to the Free Software |
24 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
25 |
* |
* |
26 |
* $Id: portab.h,v 1.46 2003-02-18 15:48:15 chl Exp $ |
* $Id: portab.h,v 1.46.2.4 2003-03-28 07:18:45 suxen_drol Exp $ |
27 |
* |
* |
28 |
****************************************************************************/ |
****************************************************************************/ |
29 |
|
|
47 |
|
|
48 |
/* debug level for this library */ |
/* debug level for this library */ |
49 |
#ifdef _DEBUG |
#ifdef _DEBUG |
50 |
#define DPRINTF_LEVEL 0x000000ff |
#ifndef DPRINTF_LEVEL |
51 |
|
#define DPRINTF_LEVEL 0x8000000f |
52 |
|
#endif |
53 |
#else |
#else |
54 |
#define DPRINTF_LEVEL 0 |
#define DPRINTF_LEVEL 0 |
55 |
#endif |
#endif |
93 |
#if defined(ARCH_IS_32BIT) |
#if defined(ARCH_IS_32BIT) |
94 |
# define CACHE_LINE 64 |
# define CACHE_LINE 64 |
95 |
# define ptr_t uint32_t |
# define ptr_t uint32_t |
96 |
|
# define intptr_t int32_t |
97 |
|
# if _MSC_VER < 1300 |
98 |
|
# define uintptr_t uint64_t |
99 |
|
# else |
100 |
|
# include <stdarg.h> |
101 |
|
# endif |
102 |
#elif defined(ARCH_IS_64BIT) |
#elif defined(ARCH_IS_64BIT) |
103 |
# define CACHE_LINE 64 |
# define CACHE_LINE 64 |
104 |
# define ptr_t uint64_t |
# define ptr_t uint64_t |
105 |
|
# define intptr_t int64_t |
106 |
|
# if _MSC_VER < 1300 |
107 |
|
# define uintptr_t uint64_t |
108 |
|
# else |
109 |
|
# include <stdarg.h> |
110 |
|
# endif |
111 |
#else |
#else |
112 |
# error You are trying to compile XviD without defining address bus size. |
# error You are trying to compile XviD without defining address bus size. |
113 |
#endif |
#endif |