--- portab.h 2002/12/14 09:39:42 1.26.2.3 +++ portab.h 2002/11/26 23:44:10 1.38 @@ -52,7 +52,7 @@ * exception also makes it possible to release a modified version which * carries forward this exception. * - * $Id: portab.h,v 1.26.2.3 2002/12/14 09:39:42 suxen_drol Exp $ + * $Id: portab.h,v 1.38 2002/11/26 23:44:10 edgomez Exp $ * ****************************************************************************/ @@ -71,15 +71,10 @@ #define DPRINTF_MB 0x00000010 #define DPRINTF_COEFF 0x00000020 #define DPRINTF_MV 0x00000040 -#define DPRINTF_RC 0x00000080 #define DPRINTF_DEBUG 0x80000000 /* debug level for this library */ -#ifdef _DEBUG -#define DPRINTF_LEVEL (DPRINTF_RC|0x0000000f) -#else -#define DPRINTF_LEVEL DPRINTF_RC -#endif +#define DPRINTF_LEVEL 0 /* Buffer size for non C99 compliant compilers (msvc) */ #define DPRINTF_BUF_SZ 1024 @@ -217,14 +212,14 @@ | msvc unknown architecture *---------------------------------------------------------------------------*/ # else -/* ANSI C version of BSWAP */ +/* ANSI C version of BSWAP, and POSIX clock() for timer */ #define BSWAP(x) \ x = ((((x) & 0xff000000) >> 24) | \ (((x) & 0x00ff0000) >> 8) | \ (((x) & 0x0000ff00) << 8) | \ (((x) & 0x000000ff) << 24)) -#define EMMS() +#define EMMS() clock() # endif @@ -360,14 +355,14 @@ | XviD + gcc unsupported Architecture *---------------------------------------------------------------------------*/ # else -/* ANSI C version of BSWAP */ +/* ANSI C version of BSWAP, and POSIX clock() for timer */ #define BSWAP(x) \ x = ((((x) & 0xff000000) >> 24) | \ (((x) & 0x00ff0000) >> 8) | \ (((x) & 0x0000ff00) << 8) | \ (((x) & 0x000000ff) << 24)) -#define EMMS() +#define EMMS() clock() # endif /* Architecture checking */ /*****************************************************************************