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
Next revision Both sides next revision
devel:sizeof [2009/04/10 16:46]
mario added Mac
devel:sizeof [2009/04/10 16:54]
mario combined Mac 64bit
Line 51: Line 51:
 </​code>​ </​code>​
  
-==== Mac intel 64bit (x86_64) ====+==== Mac Intel 64bit (x86_64) and Mac PowerPC 64bit (ppc64) ====
  
 <​code>​ <​code>​
-#if defined(__APPLE__) && defined(__x86_64__) +#if defined(__APPLE__) && ​(defined(__x86_64__) ​|| defined(__ppc64__))
-#define SIZEOF_DOUBLE 8 +
-#define SIZEOF_FLOAT 4 +
-#define SIZEOF_INT 4 +
-#define SIZEOF_LONG 8 +
-#define SIZEOF_LONG_LONG 8 +
-#define SIZEOF_OFF_T 8 +
-#define SIZEOF_PTRDIFF_T 8 +
-#define SIZEOF_SHORT 2 +
-#define SIZEOF_SIZE_T 8 +
-#define SIZEOF_UNSIGNED_INT 4 +
-#define SIZEOF_UNSIGNED_LONG 8 +
-#define SIZEOF_UNSIGNED_LONG_LONG 8 +
-#endif +
-</​code>​ +
- +
- +
-==== Mac ppc 64bit (ppc64) ==== +
- +
-<​code>​ +
-#if defined(__APPLE__&& defined(__ppc64__)+
 #define SIZEOF_DOUBLE 8 #define SIZEOF_DOUBLE 8
 #define SIZEOF_FLOAT 4 #define SIZEOF_FLOAT 4
devel/sizeof.txt · Last modified: 2009/04/10 17:08 by mario
Contact: admin(a)xuvtools.org