Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
1013d2e7
Commit
1013d2e7
authored
Jun 02, 2012
by
André Hentschel
Committed by
Alexandre Julliard
Jun 04, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Enhance FreeBSD checks to also check for DragonFly BSD when appropriate.
parent
1f6d078e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
directory.c
dlls/ntdll/directory.c
+2
-2
file.c
dlls/ntdll/file.c
+2
-2
nt.c
dlls/ntdll/nt.c
+1
-1
signal_i386.c
dlls/ntdll/signal_i386.c
+1
-1
No files found.
dlls/ntdll/directory.c
View file @
1013d2e7
...
...
@@ -486,7 +486,7 @@ static char *parse_mount_entries( FILE *f, dev_t dev, ino_t ino )
}
#endif
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|| defined(__DragonFly__)
#include <fstab.h>
static
char
*
parse_mount_entries
(
FILE
*
f
,
dev_t
dev
,
ino_t
ino
)
{
...
...
@@ -587,7 +587,7 @@ static char *get_default_drive_device( const char *root )
}
RtlLeaveCriticalSection
(
&
dir_section
);
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__ )
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__ )
|| defined(__DragonFly__)
char
*
device
=
NULL
;
int
fd
,
res
=
-
1
;
struct
stat
st
;
...
...
dlls/ntdll/file.c
View file @
1013d2e7
...
...
@@ -2267,7 +2267,7 @@ NTSTATUS WINAPI NtQueryAttributesFile( const OBJECT_ATTRIBUTES *attr, FILE_BASIC
}
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__
DragonFly__) || defined(__
APPLE__)
/* helper for FILE_GetDeviceInfo to hide some platform differences in fstatfs */
static
inline
void
get_device_info_fstatfs
(
FILE_FS_DEVICE_INFORMATION
*
info
,
const
char
*
fstypename
,
unsigned
int
flags
)
...
...
@@ -2388,7 +2388,7 @@ static NTSTATUS get_device_info( int fd, FILE_FS_DEVICE_INFORMATION *info )
info
->
DeviceType
=
FILE_DEVICE_DISK_FILE_SYSTEM
;
break
;
}
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) || defined(__APPLE__)
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) || defined(__
DragonFly__) || defined(__
APPLE__)
struct
statfs
stfs
;
if
(
fstatfs
(
fd
,
&
stfs
)
<
0
)
...
...
dlls/ntdll/nt.c
View file @
1013d2e7
...
...
@@ -1159,7 +1159,7 @@ void fill_cpu_info(void)
fclose
(
f
);
}
}
#elif defined(__FreeBSD__) || defined (__FreeBSD_kernel__)
#elif defined(__FreeBSD__) || defined (__FreeBSD_kernel__)
|| defined(__DragonFly__)
{
int
ret
,
num
;
size_t
len
;
...
...
dlls/ntdll/signal_i386.c
View file @
1013d2e7
...
...
@@ -420,7 +420,7 @@ extern void DECLSPEC_NORETURN __wine_restore_regs( const CONTEXT *context );
enum
i386_trap_code
{
TRAP_x86_UNKNOWN
=
-
1
,
/* Unknown fault (TRAP_sig not defined) */
#if defined(__FreeBSD__) || defined (__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__OpenBSD__)
#if defined(__FreeBSD__) || defined (__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__OpenBSD__)
|| defined(__DragonFly__)
TRAP_x86_DIVIDE
=
T_DIVIDE
,
/* Division by zero exception */
TRAP_x86_TRCTRAP
=
T_TRCTRAP
,
/* Single-step exception */
TRAP_x86_NMI
=
T_NMI
,
/* NMI interrupt */
...
...
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