~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/strto.c

  • Committer: Monty Taylor
  • Date: 2008-10-27 23:19:48 UTC
  • mto: (520.4.12 merge-innodb-plugin)
  • mto: This revision was merged to the branch mainline in revision 563.
  • Revision ID: monty@inaugust.com-20081027231948-3kl6ss04plbakqcr
Split some more things out of common_includes.h.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
   /* see 'strtoll.c' and 'strtoull.c' for the reasons */
41
41
#endif
42
42
 
43
 
#include "mysys_priv.h"
 
43
#include "m_ctype.h"
 
44
#include "my_sys.h"                     /* defines errno */
 
45
#include <errno.h>
44
46
 
45
47
#undef strtoull
46
48
#undef strtoll
112
114
  {
113
115
    ++s;
114
116
  }
115
 
 
 
117
    
116
118
 
117
119
  if (base == 16 && s[0] == '0' && my_toupper (&my_charset_utf8_general_ci, s[1]) == 'X')
118
120
    s += 2;