~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/global.h

  • Committer: Brian Aker
  • Date: 2008-10-07 15:15:28 UTC
  • mfrom: (481.1.24 codestyle)
  • Revision ID: brian@tangent.org-20081007151528-xc1w8m90lqb37j4r
Merge from Monty.

Show diffs side-by-side

added added

removed removed

Lines of Context:
265
265
  Max size that must be added to a so that we know Size to make
266
266
  adressable obj.
267
267
*/
268
 
#if SIZEOF_CHARP == 4
269
 
typedef int32_t    my_ptrdiff_t;
270
 
#else
271
 
typedef int64_t   my_ptrdiff_t;
272
 
#endif
 
268
typedef ptrdiff_t my_ptrdiff_t;
273
269
 
274
270
#define MY_ALIGN(A,L)  (((A) + (L) - 1) & ~((L) - 1))
275
271
#define ALIGN_SIZE(A)  MY_ALIGN((A),sizeof(double))