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
6e292244
Commit
6e292244
authored
Apr 14, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Contribs: compile pthread on Win64
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
b045a705
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+1
-0
extras/contrib/src/Patches/pthreads-win64.patch
extras/contrib/src/Patches/pthreads-win64.patch
+11
-0
No files found.
extras/contrib/src/Makefile
View file @
6e292244
...
...
@@ -2333,6 +2333,7 @@ pthreads-w32-$(PTHREADS_VERSION)-release.tar.gz:
pthreads
:
pthreads-w32-$(PTHREADS_VERSION)-release.tar.gz
$(EXTRACT_GZ)
(
cd
$@
;
patch
-p0
< ../Patches/pthreads-detach.patch
)
(
patch
-p0
< Patches/pthreads-win64.patch
)
.pthreads
:
pthreads
(
cd
$<
;
$(HOSTCC)
make
$(PTHREADSCONF)
GC GC-static
&&
mkdir
-p
$(PREFIX)
/include
&&
cp
-v
pthread.h sched.h semaphore.h
$(PREFIX)
/include/
&&
mkdir
-p
$(PREFIX)
/lib
&&
cp
-v
*
.a
*
.dll
$(PREFIX)
/lib/
)
...
...
extras/contrib/src/Patches/pthreads-win64.patch
0 → 100644
View file @
6e292244
--- pthreads/pthread.h 2006-01-24 14:59:57.000000000 +0100
+++ pthreads.new/pthread.h 2010-04-14 15:49:39.000000000 +0200
@@ -302,7 +302,7 @@
#endif
#endif
-#ifndef HAVE_STRUCT_TIMESPEC
+#if !defined( HAVE_STRUCT_TIMESPEC ) && !defined( _TIMESPEC_DEFINED )
#define HAVE_STRUCT_TIMESPEC 1
struct timespec {
long tv_sec;
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