~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/global.h

  • Committer: Monty Taylor
  • Date: 2008-10-03 20:12:22 UTC
  • Revision ID: monty@inaugust.com-20081003201222-1r6tg3u0hohyjrev
Removed rint check - rint is part of C99.

Show diffs side-by-side

added added

removed removed

Lines of Context:
153
153
#define test_all_bits(a,b) (((a) & (b)) == (b))
154
154
#define set_bits(type, bit_count) (sizeof(type)*8 <= (bit_count) ? ~(type) 0 : ((((type) 1) << (bit_count)) - (type) 1))
155
155
#define array_elements(A) ((uint32_t) (sizeof(A)/sizeof(A[0])))
156
 
#ifndef HAVE_RINT
157
 
#define rint(A) floor((A)+(((A) < 0)? -0.5 : 0.5))
158
 
#endif
159
156
 
160
157
#if defined(__GNUC__)
161
158
#define function_volatile  volatile