[cvs] / xvidcore / src / portab.h Repository:
ViewVC logotype

Diff of /xvidcore/src/portab.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.25, Wed Jul 10 15:27:37 2002 UTC revision 1.26.2.1, Wed Nov 6 21:05:30 2002 UTC
# Line 12  Line 12 
12  #define DPRINTF_MV                      0x00000040  #define DPRINTF_MV                      0x00000040
13  #define DPRINTF_DEBUG           0x80000000  #define DPRINTF_DEBUG           0x80000000
14    
15    
16    #ifdef _DEBUG
17  // debug level  // debug level
18  #define DPRINTF_LEVEL           0  #define DPRINTF_LEVEL           0x00000000
19    #else
20    #define DPRINTF_LEVEL           0x0
21    #endif
22    
23    
24  #define DPRINTF_BUF_SZ  1024  #define DPRINTF_BUF_SZ  1024
# Line 105  Line 110 
110          return ts;          return ts;
111  }  }
112    
113  #elif defined(LINUX) || defined(DJGPP) || defined(FREEBSD)  #elif defined(LINUX) || defined(DJGPP) || defined(FREEBSD) || defined(BEOS)
114    
115  #include <stdio.h>  #include <stdio.h>
116  #include <stdarg.h>  #include <stdarg.h>
# Line 143  Line 148 
148  #define DEBUGCBR(A,B,C)  #define DEBUGCBR(A,B,C)
149  #endif  #endif
150    
151  #if defined(LINUX)  #if defined(LINUX) || defined(BEOS)
152    
153    #if defined(BEOS)
154    #include <inttypes.h>
155    #else
156  #include <stdint.h>  #include <stdint.h>
157    #endif
158    
159  #define DECLARE_ALIGNED_MATRIX(name,sizex,sizey,type,alignment) \  #define DECLARE_ALIGNED_MATRIX(name,sizex,sizey,type,alignment) \
160          type name##_storage[(sizex)*(sizey)+(alignment)-1]; \          type name##_storage[(sizex)*(sizey)+(alignment)-1]; \
# Line 291  Line 300 
300    
301  #else                                                   // OTHER OS  #else                                                   // OTHER OS
302    
303    #define DECLARE_ALIGNED_MATRIX(name,sizex,sizey,type,alignment) \
304            __declspec(align(alignment)) type name[(sizex)*(sizey)]
305    
306  #include <stdio.h>  #include <stdio.h>
307  #include <stdarg.h>  #include <stdarg.h>

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26.2.1

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4