Browse Source

Fix compilation error due to pthread on OS/2

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
pull/2/head
KO Myung-Hun 15 years ago
committed by Rémi Denis-Courmont
parent
commit
b5b1c1906f
  1. 9
      bin/vlc.c

9
bin/vlc.c

@ -35,13 +35,20 @@
#include <stdbool.h>
#include <locale.h>
#include <signal.h>
#include <pthread.h>
#ifdef HAVE_PTHREAD_H
# include <pthread.h>
#endif
#include <unistd.h>
#ifdef __APPLE__
#include <string.h>
#endif
#ifdef __OS2__
# define pthread_t int
# define pthread_self() _gettid()
#endif
/* Explicit HACK */
extern void LocaleFree (const char *);

Loading…
Cancel
Save