185 |
#if __GNUC__ > 1 /* GNU C and GNU C++ define this. */ |
#if __GNUC__ > 1 /* GNU C and GNU C++ define this. */ |
186 |
# define __yy_memcpy(To, From, Count) __builtin_memcpy (To, From, Count) |
# define __yy_memcpy(To, From, Count) __builtin_memcpy (To, From, Count) |
187 |
#else /* not GNU C or C++ */ |
#else /* not GNU C or C++ */ |
|
# ifndef __cplusplus |
|
188 |
|
|
189 |
/* This is the most reliable way to avoid incompatibilities |
/* This is the most reliable way to avoid incompatibilities |
190 |
in available built-in functions on various systems. */ |
in available built-in functions on various systems. */ |
191 |
static void |
static void |
192 |
|
# ifndef __cplusplus |
193 |
__yy_memcpy (to, from, count) |
__yy_memcpy (to, from, count) |
194 |
char *to; |
char *to; |
195 |
char *from; |
const char *from; |
196 |
unsigned int count; |
unsigned int count; |
|
{ |
|
|
register char *f = from; |
|
|
register char *t = to; |
|
|
register int i = count; |
|
|
|
|
|
while (i-- > 0) |
|
|
*t++ = *f++; |
|
|
} |
|
|
|
|
197 |
# else /* __cplusplus */ |
# else /* __cplusplus */ |
198 |
|
__yy_memcpy (char *to, const char *from, unsigned int count) |
199 |
/* This is the most reliable way to avoid incompatibilities |
# endif |
|
in available built-in functions on various systems. */ |
|
|
static void |
|
|
__yy_memcpy (char *to, char *from, unsigned int count) |
|
200 |
{ |
{ |
201 |
|
register const char *f = from; |
202 |
register char *t = to; |
register char *t = to; |
|
register char *f = from; |
|
203 |
register int i = count; |
register int i = count; |
204 |
|
|
205 |
while (i-- > 0) |
while (i-- > 0) |
206 |
*t++ = *f++; |
*t++ = *f++; |
207 |
} |
} |
208 |
|
|
|
# endif |
|
209 |
#endif |
#endif |
210 |
|
|
211 |
#line |
#line |