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
87175c61
Commit
87175c61
authored
Oct 03, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Oct 06, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add configure check for dirent.h and readdir.
parent
c5fbf98e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
0 deletions
+19
-0
configure
configure
+4
-0
configure.ac
configure.ac
+2
-0
rootstore.c
dlls/crypt32/rootstore.c
+7
-0
config.h.in
include/config.h.in
+6
-0
No files found.
configure
View file @
87175c61
...
...
@@ -7217,6 +7217,7 @@ done
for
ac_header
in
\
AudioUnit/AudioUnit.h
\
Carbon/Carbon.h
\
...
...
@@ -7231,6 +7232,7 @@ for ac_header in \
capi20.h
\
curses.h
\
direct.h
\
dirent.h
\
dlfcn.h
\
elf.h
\
float.h
\
...
...
@@ -17206,6 +17208,7 @@ esac
for
ac_func
in
\
_pclose
\
_popen
\
...
...
@@ -17249,6 +17252,7 @@ for ac_func in \
prctl
\
pread
\
pwrite
\
readdir
\
readlink
\
rfork
\
sched_yield
\
...
...
configure.ac
View file @
87175c61
...
...
@@ -237,6 +237,7 @@ AC_CHECK_HEADERS(\
capi20.h \
curses.h \
direct.h \
dirent.h \
dlfcn.h \
elf.h \
float.h \
...
...
@@ -1401,6 +1402,7 @@ AC_CHECK_FUNCS(\
prctl \
pread \
pwrite \
readdir \
readlink \
rfork \
sched_yield \
...
...
dlls/crypt32/rootstore.c
View file @
87175c61
...
...
@@ -22,7 +22,9 @@
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
#ifdef HAVE_DIRENT_H
#include <dirent.h>
#endif
#include <fcntl.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
...
...
@@ -313,6 +315,7 @@ static BOOL import_certs_from_path(LPCSTR path, HCERTSTORE store,
*/
static
BOOL
import_certs_from_dir
(
LPCSTR
path
,
HCERTSTORE
store
)
{
#ifdef HAVE_READDIR
BOOL
ret
=
FALSE
;
DIR
*
dir
;
...
...
@@ -341,6 +344,10 @@ static BOOL import_certs_from_dir(LPCSTR path, HCERTSTORE store)
}
}
return
ret
;
#else
FIXME
(
"not implemented without readdir available
\n
"
);
return
FALSE
;
#endif
}
/* Opens path, which may be a file or a directory, and imports any certificates
...
...
include/config.h.in
View file @
87175c61
...
...
@@ -65,6 +65,9 @@
/* Define to 1 if you have the <direct.h> header file. */
#undef HAVE_DIRECT_H
/* Define to 1 if you have the <dirent.h> header file. */
#undef HAVE_DIRENT_H
/* Define to 1 if you have the <DiskArbitration/DiskArbitration.h> header
file. */
#undef HAVE_DISKARBITRATION_DISKARBITRATION_H
...
...
@@ -570,6 +573,9 @@
/* Define to 1 if you have the `pwrite' function. */
#undef HAVE_PWRITE
/* Define to 1 if you have the `readdir' function. */
#undef HAVE_READDIR
/* Define to 1 if you have the `readlink' function. */
#undef HAVE_READLINK
...
...
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