Commit 1a1bba5a authored by Rémi Duraffort's avatar Rémi Duraffort

Android: hack to fix warnings in pthread.h when compiling in C++

parent 79ab8c8b
...@@ -284,4 +284,16 @@ long jrand48 (unsigned short subi[3]); ...@@ -284,4 +284,16 @@ long jrand48 (unsigned short subi[3]);
long nrand48 (unsigned short subi[3]); long nrand48 (unsigned short subi[3]);
#endif #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 */ #endif /* !LIBVLC_FIXUPS_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment