#endif
#ifndef HAVE_STRTOF
+#ifndef __ANDROID__
float strtof (const char *, char **);
#endif
+#endif
#ifndef HAVE_ATOF
+#ifndef __ANDROID__
double atof (const char *);
#endif
+#endif
#ifndef HAVE_STRTOLL
long long int strtoll (const char *, char **, int);
}
#endif
+#ifndef HAVE_SETENV
+int setenv (const char *, const char *, int);
+int unsetenv (const char *);
+#endif
+
/* Alignment of critical static data structures */
#ifdef ATTRIBUTE_ALIGNED_MAX
# define ATTR_ALIGN(align) __attribute__ ((__aligned__ ((ATTRIBUTE_ALIGNED_MAX < align) ? ATTRIBUTE_ALIGNED_MAX : align)))
void tdestroy( void *root, void (*free_node)(void *nodep) );
#else // HAVE_SEARCH_H
# ifndef HAVE_TDESTROY
-void tdestroy( void *root, void (*free_node)(void *nodep) );
+# define tdestroy vlc_tdestroy
# endif
#endif
long nrand48 (unsigned short subi[3]);
#endif
+#ifdef __ANDROID__
+# undef __linux__
+# ifndef __cplusplus
+# define __cplusplus 0
+# endif
+# include <pthread.h>
+# if __cplusplus == 0
+# undef __cplusplus
+# endif
+char *tempnam(const char *, const char *);
+#endif // ANDROID
+
#endif /* !LIBVLC_FIXUPS_H */