Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
dd0242de
Commit
dd0242de
authored
Aug 20, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the dummy pthread functions and use -lpthread instead to
resolve missing symbols in GL libs.
parent
f89f3df1
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
83 deletions
+8
-83
configure
configure
+4
-10
configure.ac
configure.ac
+4
-5
config.h.in
include/config.h.in
+0
-15
Makefile.in
libs/wine/Makefile.in
+0
-1
errno.c
libs/wine/errno.c
+0
-52
No files found.
configure
View file @
dd0242de
...
...
@@ -8198,6 +8198,10 @@ if test $ac_cv_lib_GLU_gluLookAt = yes; then
fi
if
test
-n
"
$OPENGL_LIBS
"
then
OPENGL_LIBS
=
"
$OPENGL_LIBS
-lpthread"
fi
fi
fi
fi
...
...
@@ -13370,11 +13374,6 @@ fi
for
ac_func
in
\
_lwp_create
\
_lwp_self
\
...
...
@@ -13408,11 +13407,6 @@ for ac_func in \
pclose
\
popen
\
pread
\
pthread_getspecific
\
pthread_key_create
\
pthread_mutex_lock
\
pthread_mutex_unlock
\
pthread_setspecific
\
pwrite
\
rfork
\
select
\
...
...
configure.ac
View file @
dd0242de
...
...
@@ -341,6 +341,10 @@ This prevents linking to OpenGL. Delete the file and restart configure.])
,,
$OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
)
if test -n "$OPENGL_LIBS"
then
OPENGL_LIBS="$OPENGL_LIBS -lpthread"
fi
fi
fi
fi
...
...
@@ -958,11 +962,6 @@ AC_CHECK_FUNCS(\
pclose \
popen \
pread \
pthread_getspecific \
pthread_key_create \
pthread_mutex_lock \
pthread_mutex_unlock \
pthread_setspecific \
pwrite \
rfork \
select \
...
...
include/config.h.in
View file @
dd0242de
...
...
@@ -395,21 +395,6 @@
/* Define to 1 if you have the `pread' function. */
#undef HAVE_PREAD
/* Define to 1 if you have the `pthread_getspecific' function. */
#undef HAVE_PTHREAD_GETSPECIFIC
/* Define to 1 if you have the `pthread_key_create' function. */
#undef HAVE_PTHREAD_KEY_CREATE
/* Define to 1 if you have the `pthread_mutex_lock' function. */
#undef HAVE_PTHREAD_MUTEX_LOCK
/* Define to 1 if you have the `pthread_mutex_unlock' function. */
#undef HAVE_PTHREAD_MUTEX_UNLOCK
/* Define to 1 if you have the `pthread_setspecific' function. */
#undef HAVE_PTHREAD_SETSPECIFIC
/* Define to 1 if you have the <pty.h> header file. */
#undef HAVE_PTY_H
...
...
libs/wine/Makefile.in
View file @
dd0242de
...
...
@@ -10,7 +10,6 @@ EXTRALIBS = $(LIBPORT) @DLLIBS@ @CRTLIBS@
C_SRCS
=
\
config.c
\
debug.c
\
errno.c
\
ldt.c
\
loader.c
...
...
libs/wine/errno.c
deleted
100644 → 0
View file @
f89f3df1
/*
* Wine library reentrant errno support
*
* Copyright 1998 Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include <assert.h>
#ifndef HAVE_NPTL
/***********************************************************************
* pthread functions
*
* FIXME: should find a better place for these
*/
#ifndef HAVE_PTHREAD_GETSPECIFIC
void
pthread_getspecific
()
{
assert
(
0
);
}
#endif
#ifndef HAVE_PTHREAD_KEY_CREATE
void
pthread_key_create
()
{
assert
(
0
);
}
#endif
#ifndef HAVE_PTHREAD_MUTEX_LOCK
void
pthread_mutex_lock
()
{
assert
(
0
);
}
#endif
#ifndef HAVE_PTHREAD_MUTEX_UNLOCK
void
pthread_mutex_unlock
()
{
assert
(
0
);
}
#endif
#ifndef HAVE_PTHREAD_SETSPECIFIC
void
pthread_setspecific
()
{
assert
(
0
);
}
#endif
#endif
/* HAVE_NPTL */
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