~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/m_string.h

  • Committer: Brian Aker
  • Date: 2008-09-04 16:50:21 UTC
  • Revision ID: brian@tangent.org-20080904165021-490cv76yapesybd8
Removed duplicate C99/posix calls.

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
#ifndef HAVE_STRPBRK
99
99
extern char *strpbrk(const char *, const char *);
100
100
#endif
101
 
#ifndef HAVE_STRSTR
102
 
extern char *strstr(const char *, const char *);
103
 
#endif
104
101
#endif
105
102
extern int is_prefix(const char *, const char *);
106
103
 
154
151
#if SIZEOF_LONG == SIZEOF_LONG_LONG
155
152
#define int64_t2str(A,B,C) int2str((A),(B),(C),1)
156
153
#define int64_t10_to_str(A,B,C) int10_to_str((A),(B),(C))
157
 
#undef strtoll
158
 
#define strtoll(A,B,C) strtol((A),(B),(C))
159
 
#define strtoull(A,B,C) strtoul((A),(B),(C))
160
 
#ifndef HAVE_STRTOULL
161
 
#define HAVE_STRTOULL
162
 
#endif
163
 
#ifndef HAVE_STRTOLL
164
 
#define HAVE_STRTOLL
165
 
#endif
166
154
#else
167
155
extern char *int64_t2str(int64_t val,char *dst,int radix);
168
156
extern char *int64_t10_to_str(int64_t val,char *dst,int radix);
169
 
#if (!defined(HAVE_STRTOULL) || defined(NO_STRTOLL_PROTO))
170
 
extern int64_t strtoll(const char *str, char **ptr, int base);
171
 
extern uint64_t strtoull(const char *str, char **ptr, int base);
172
 
#endif
173
157
#endif
174
158
 
175
159