~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/global.h

  • Committer: Monty Taylor
  • Date: 2008-10-08 01:52:54 UTC
  • mto: This revision was merged to the branch mainline in revision 491.
  • Revision ID: monty@inaugust.com-20081008015254-tipx2vraigbhs0j7
One step closer to simpler off_t support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
285
285
typedef unsigned long ulong;      /* Short for unsigned long */
286
286
#endif
287
287
 
288
 
#if SIZEOF_OFF_T > 4 
289
288
typedef uint64_t my_off_t;
290
 
#else
291
 
typedef unsigned long my_off_t;
292
 
#endif
293
 
#define MY_FILEPOS_ERROR  (~(my_off_t) 0)
294
289
 
295
 
typedef off_t os_off_t;
 
290
#define MY_FILEPOS_ERROR  (UINT64_MAX)
296
291
 
297
292
typedef int    myf;  /* Type of MyFlags in my_funcs */
298
293
#define MYF(v)          (myf) (v)