summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-05-13 02:50:42 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-05-13 02:50:42 +0200
commit63147c6d884d4c17d58e9224855ec2d3fba6f616 (patch)
treec45028b9f4dc75eb1291d0a151b73f819477793b
parent5d13951be85d1f28b2207b2eac59a6038e2097f3 (diff)
Slight patch to win32-pthreads...
-rwxr-xr-xcompilation3
-rw-r--r--pthreads-w32.patch17
2 files changed, 20 insertions, 0 deletions
diff --git a/compilation b/compilation
index 0690f3d..0ed064c 100755
--- a/compilation
+++ b/compilation
@@ -119,6 +119,9 @@ tar xvfz ftgl-win32-precomp.tar.gz
tar xvfz freetype-win32-precomp.tar.gz
tar xvfz mysql-5.0.51b-win32-precomp.tar.gz
tar xvfz pthreads-w32-2-8-0-release-win32-precomp.tar.gz
+cd pthreads-w32-2-8-0-release
+patch < ../pthreads-w32.patch
+cd ..
tar xvfz gnuwin32-digested.tar.gz
gunzip libreadline-static.a.gz
diff --git a/pthreads-w32.patch b/pthreads-w32.patch
new file mode 100644
index 0000000..17db0e3
--- /dev/null
+++ b/pthreads-w32.patch
@@ -0,0 +1,17 @@
+--- pthread-orig.h 2013-05-13 02:48:34.000000000 +0200
++++ pthread.h 2013-05-13 02:48:43.000000000 +0200
+@@ -304,10 +304,10 @@
+
+ #ifndef HAVE_STRUCT_TIMESPEC
+ #define HAVE_STRUCT_TIMESPEC 1
+-struct timespec {
+- long tv_sec;
+- long tv_nsec;
+-};
++//struct timespec {
++// long tv_sec;
++// long tv_nsec;
++//};
+ #endif /* HAVE_STRUCT_TIMESPEC */
+
+ #ifndef SIG_BLOCK