Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
64dbf6c9
Commit
64dbf6c9
authored
Jul 27, 2016
by
StevenPuttemans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix build #6993
parent
9ad0dcb5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
TestHaarCascadeApplication.cpp
modules/cudalegacy/test/TestHaarCascadeApplication.cpp
+3
-6
test_precomp.hpp
modules/cudalegacy/test/test_precomp.hpp
+1
-2
No files found.
modules/cudalegacy/test/TestHaarCascadeApplication.cpp
View file @
64dbf6c9
...
...
@@ -52,8 +52,7 @@ namespace
~
FpuControl
();
private
:
#if defined(__GNUC__) && !defined(__APPLE__) && !defined(__arm__) &&
!
defined
(
__aarch64__
)
&&
!
defined
(
__powerpc64__
)
#if defined(__GNUC__) && !defined(__APPLE__) && !defined(__arm__) && !defined(__aarch64__) && !defined(__powerpc64__)
fpu_control_t
fpu_oldcw
,
fpu_cw
;
#elif defined(_WIN32) && !defined(_WIN64)
unsigned
int
fpu_oldcw
,
fpu_cw
;
...
...
@@ -62,8 +61,7 @@ namespace
FpuControl
::
FpuControl
()
{
#if defined(__GNUC__) && !defined(__APPLE__) && !defined(__arm__) &&
!
defined
(
__aarch64__
)
&&
!
defined
(
__powerpc64__
)
#if defined(__GNUC__) && !defined(__APPLE__) && !defined(__arm__) && !defined(__aarch64__) && !defined(__powerpc64__)
_FPU_GETCW
(
fpu_oldcw
);
fpu_cw
=
(
fpu_oldcw
&
~
_FPU_EXTENDED
&
~
_FPU_DOUBLE
&
~
_FPU_SINGLE
)
|
_FPU_SINGLE
;
_FPU_SETCW
(
fpu_cw
);
...
...
@@ -76,8 +74,7 @@ namespace
FpuControl
::~
FpuControl
()
{
#if defined(__GNUC__) && !defined(__APPLE__) && !defined(__arm__) &&
!
defined
(
__aarch64__
)
&&
!
defined
(
__powerpc64__
)
#if defined(__GNUC__) && !defined(__APPLE__) && !defined(__arm__) && !defined(__aarch64__) && !defined(__powerpc64__)
_FPU_SETCW
(
fpu_oldcw
);
#elif defined(_WIN32) && !defined(_WIN64)
_controlfp_s
(
&
fpu_cw
,
fpu_oldcw
,
_MCW_PC
);
...
...
modules/cudalegacy/test/test_precomp.hpp
View file @
64dbf6c9
...
...
@@ -51,8 +51,7 @@
#ifndef __OPENCV_TEST_PRECOMP_HPP__
#define __OPENCV_TEST_PRECOMP_HPP__
#if defined(__GNUC__) && !defined(__APPLE__) && !defined(__arm__) &&
!
defined
(
__aarch64__
)
&&
!
defined
(
__powerpc64__
)
#if defined(__GNUC__) && !defined(__APPLE__) && !defined(__arm__) && !defined(__aarch64__) && !defined(__powerpc64__)
#include <fpu_control.h>
#endif
...
...
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