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
47e97057
Commit
47e97057
authored
Aug 19, 2002
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./src/misc/cpu.c: we use void(*)(int) instead of sighandler_t because
mingw32 doesn't know about sighandler_t.
parent
2fa6c9ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/misc/cpu.c
src/misc/cpu.c
+3
-3
No files found.
src/misc/cpu.c
View file @
47e97057
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* cpu.c: CPU detection code
* cpu.c: CPU detection code
*****************************************************************************
*****************************************************************************
* Copyright (C) 1998-2002 VideoLAN
* Copyright (C) 1998-2002 VideoLAN
* $Id: cpu.c,v 1.
5 2002/08/19 11:13:45
sam Exp $
* $Id: cpu.c,v 1.
6 2002/08/19 11:37:57
sam Exp $
*
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Authors: Samuel Hocevar <sam@zoy.org>
* Christophe Massiot <massiot@via.ecp.fr>
* Christophe Massiot <massiot@via.ecp.fr>
...
@@ -130,7 +130,7 @@ static u32 Capabilities( vlc_object_t *p_this )
...
@@ -130,7 +130,7 @@ static u32 Capabilities( vlc_object_t *p_this )
: "cc" );
: "cc" );
# if defined( CAN_COMPILE_SSE ) || defined ( CAN_COMPILE_3DNOW )
# if defined( CAN_COMPILE_SSE ) || defined ( CAN_COMPILE_3DNOW )
sighandler_t
pf_sigill
=
signal
(
SIGILL
,
SigHandler
);
void
(
*
pf_sigill
)
(
int
)
=
signal
(
SIGILL
,
SigHandler
);
# endif
# endif
i_capabilities
|=
CPU_CAPABILITY_FPU
;
i_capabilities
|=
CPU_CAPABILITY_FPU
;
...
@@ -261,7 +261,7 @@ static u32 Capabilities( vlc_object_t *p_this )
...
@@ -261,7 +261,7 @@ static u32 Capabilities( vlc_object_t *p_this )
#elif defined( __powerpc__ )
#elif defined( __powerpc__ )
# ifdef CAN_COMPILE_ALTIVEC
# ifdef CAN_COMPILE_ALTIVEC
sighandler_t
pf_sigill
=
signal
(
SIGILL
,
SigHandler
);
void
(
*
pf_sigill
)
(
int
)
=
signal
(
SIGILL
,
SigHandler
);
i_capabilities
|=
CPU_CAPABILITY_FPU
;
i_capabilities
|=
CPU_CAPABILITY_FPU
;
...
...
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