Commit 80945fa4 authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Jean-Baptiste Kempf

Fix compilation error due to pthread on OS/2

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
(cherry picked from commit b5b1c190)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 2ea642ac
......@@ -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 *);
......
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