Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
3ea9fb9c
Commit
3ea9fb9c
authored
Jan 11, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
threads: remove legacy #includes
parent
416b9750
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
include/vlc_threads.h
include/vlc_threads.h
+0
-4
src/misc/cpu.c
src/misc/cpu.c
+2
-0
src/misc/w32thread.c
src/misc/w32thread.c
+1
-0
No files found.
include/vlc_threads.h
View file @
3ea9fb9c
...
...
@@ -35,21 +35,17 @@
*/
#if defined( UNDER_CE )
# include <errno.h>
/* WinCE API */
#elif defined( WIN32 )
# include <process.h>
/* Win32 API */
# include <errno.h>
#else
/* pthreads (like Linux & BSD) */
# define LIBVLC_USE_PTHREAD 1
# define LIBVLC_USE_PTHREAD_CANCEL 1
# define _APPLE_C_SOURCE 1
/* Proper pthread semantics on OSX */
# include <stdlib.h>
/* lldiv_t definition (only in C99) */
# include <unistd.h>
/* _POSIX_SPIN_LOCKS */
# include <pthread.h>
# include <semaphore.h>
# include <time.h>
#endif
...
...
src/misc/cpu.c
View file @
3ea9fb9c
...
...
@@ -37,6 +37,8 @@
#ifndef WIN32
#include <unistd.h>
#include <sys/wait.h>
#else
#include <errno.h>
#endif
#include "libvlc.h"
...
...
src/misc/w32thread.c
View file @
3ea9fb9c
...
...
@@ -36,6 +36,7 @@
#include <stdarg.h>
#include <assert.h>
#include <limits.h>
#include <errno.h>
#ifdef UNDER_CE
# include <mmsystem.h>
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment