XuvTools is developed in a cooperative effort from:
  • Chair of Pattern Recognition and Image Processing [www]
  • Friedrich Miescher Institute for Biomedical Research [www]
  • Center for Biological Systems Analysis [www]
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
devel:sizeof [2009/04/10 16:54]
mario combined Mac 64bit
devel:sizeof [2009/04/10 17:06]
mario added Mac 32bit
Line 48: Line 48:
 #define SIZEOF_UNSIGNED_LONG 8 #define SIZEOF_UNSIGNED_LONG 8
 #define SIZEOF_UNSIGNED_LONG_LONG 8 #define SIZEOF_UNSIGNED_LONG_LONG 8
 +#endif
 +</​code>​
 +
 +==== Mac Intel 32bit (i386) and Mac PowerPC 32bit (ppc) ====
 +
 +<​code>​
 +#if defined(__APPLE__) && defined(__i386__)
 +#define SIZEOF_CHAR 1
 +#define SIZEOF_DOUBLE 8
 +#define SIZEOF_FLOAT 4
 +#define SIZEOF_INT 4
 +#define SIZEOF_LONG 4
 +#define SIZEOF_LONG_DOUBLE 16
 +#define SIZEOF_LONG_LONG 8
 +#define SIZEOF_OFF_T 8
 +#define SIZEOF_PTRDIFF_T 4
 +#define SIZEOF_SHORT 2
 +#define SIZEOF_SIZE_T 4
 +#define SIZEOF_SSIZE_T 4
 +#define SIZEOF_UNSIGNED_INT 4
 +#define SIZEOF_UNSIGNED_LONG 4
 +#define SIZEOF_UNSIGNED_LONG_LONG 8
 +// ---- extended ----
 +#define SIZEOF_INT16_T 2
 +#define SIZEOF_INT32_T 4
 +#define SIZEOF_INT64_T 8
 +#define SIZEOF_INT8_T 1
 +#define SIZEOF_INT_FAST16_T 2
 +#define SIZEOF_INT_FAST32_T 4
 +#define SIZEOF_INT_FAST64_T 8
 +#define SIZEOF_INT_FAST8_T 1
 +#define SIZEOF_INT_LEAST16_T 2
 +#define SIZEOF_INT_LEAST32_T 4
 +#define SIZEOF_INT_LEAST64_T 8
 +#define SIZEOF_INT_LEAST8_T 1
 +#define SIZEOF_UINT16_T 2
 +#define SIZEOF_UINT32_T 4
 +#define SIZEOF_UINT64_T 8
 +#define SIZEOF_UINT8_T 1
 +#define SIZEOF_UINT_FAST16_T 2
 +#define SIZEOF_UINT_FAST32_T 4
 +#define SIZEOF_UINT_FAST64_T 8
 +#define SIZEOF_UINT_FAST8_T 1
 +#define SIZEOF_UINT_LEAST16_T 2
 +#define SIZEOF_UINT_LEAST32_T 4
 +#define SIZEOF_UINT_LEAST64_T 8
 +#define SIZEOF_UINT_LEAST8_T 1
 #endif #endif
 </​code>​ </​code>​
devel/sizeof.txt ยท Last modified: 2009/04/10 17:08 by mario
Contact: admin(a)xuvtools.org