]> git.sesse.net Git - vlc/commitdiff
Revert "Android: hack to fix warnings in pthread.h when compiling in C++"
authorRafaël Carré <funman@videolan.org>
Wed, 25 Jan 2012 05:14:26 +0000 (00:14 -0500)
committerRafaël Carré <funman@videolan.org>
Wed, 25 Jan 2012 05:14:26 +0000 (00:14 -0500)
This reverts commit 1a1bba5a3da60b1433509f54375f0c12db22b3c1.

Conflicts:

include/vlc_fixups.h

include/vlc_fixups.h

index 74650aeef5c7f10f8447575822509967734fdbef..6b0b7bed9d6bc2a646cc8ed30f7e17605450483a 100644 (file)
@@ -329,18 +329,6 @@ long jrand48 (unsigned short subi[3]);
 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
-
 #ifdef __OS2__
 # undef HAVE_FORK   /* Implementation of fork() is imperfect on OS/2 */
 #endif