… | |
… | |
142 | # ifndef stpcpy |
142 | # ifndef stpcpy |
143 | # define stpcpy __stpcpy |
143 | # define stpcpy __stpcpy |
144 | # endif |
144 | # endif |
145 | # define tfind __tfind |
145 | # define tfind __tfind |
146 | #else |
146 | #else |
|
|
147 | // |
|
|
148 | // # zoff #### |
|
|
149 | // # zoff #### |
|
|
150 | #ifdef HAVE_API_ANDROID |
|
|
151 | # define HAVE_GETCWD |
|
|
152 | #endif |
|
|
153 | // # zoff #### |
|
|
154 | // # zoff #### |
|
|
155 | // |
147 | # if !defined HAVE_GETCWD |
156 | # if !defined HAVE_GETCWD |
148 | char *getwd (); |
157 | char *getwd (); |
149 | # define getcwd(buf, max) getwd (buf) |
158 | # define getcwd(buf, max) getwd (buf) |
150 | # else |
159 | # else |
151 | # if VMS |
160 | # if VMS |
152 | # define getcwd(buf, max) (getcwd) (buf, max, 0) |
161 | # define getcwd(buf, max) (getcwd) (buf, max, 0) |
153 | # else |
162 | # else |
154 | char *getcwd (); |
163 | char *getcwd (); |
155 | # endif |
164 | # endif |
156 | # endif |
165 | # endif |
|
|
166 | |
|
|
167 | |
|
|
168 | |
157 | # ifndef HAVE_STPCPY |
169 | # ifndef HAVE_STPCPY |
158 | static char *stpcpy (char *dest, const char *src); |
170 | static char *stpcpy (char *dest, const char *src); |
159 | # endif |
171 | # endif |
160 | # ifndef HAVE_MEMPCPY |
172 | # ifndef HAVE_MEMPCPY |
161 | static void *mempcpy (void *dest, const void *src, size_t n); |
173 | static void *mempcpy (void *dest, const void *src, size_t n); |