~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to strings/my_strtoll10.c

  • Committer: Monty Taylor
  • Date: 2008-07-26 16:23:04 UTC
  • mfrom: (212 drizzle)
  • mto: (236.1.42 codestyle)
  • mto: This revision was merged to the branch mainline in revision 261.
  • Revision ID: monty@inaugust.com-20080726162304-6yxlhokjstx2v13d
Merged from trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#include <m_string.h>
19
19
 
20
20
#undef  ULONGLONG_MAX
21
 
/*
22
 
  Needed under MetroWerks Compiler, since MetroWerks compiler does not
23
 
  properly handle a constant expression containing a mod operator
24
 
*/
25
 
#if defined(__NETWARE__) && defined(__MWERKS__) 
26
 
static uint64_t uint64_t_max= ~(uint64_t) 0;
27
 
#define ULONGLONG_MAX uint64_t_max
28
 
#else
29
21
#define ULONGLONG_MAX           (~(uint64_t) 0)
30
 
#endif /* __NETWARE__ && __MWERKS__ */
31
22
#define MAX_NEGATIVE_NUMBER     ((uint64_t) 0x8000000000000000LL)
32
23
#define INIT_CNT  9
33
24
#define LFACTOR   1000000000ULL