Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
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_contrib
Commits
e878ea95
Commit
e878ea95
authored
Nov 27, 2017
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: fix defines
parent
09c3be3f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
kyheader.hpp
modules/saliency/src/BING/kyheader.hpp
+3
-0
numeric.h
modules/sfm/src/libmv_light/libmv/numeric/numeric.h
+1
-1
bagofwords_classification.cpp
modules/xfeatures2d/samples/bagofwords_classification.cpp
+1
-1
No files found.
modules/saliency/src/BING/kyheader.hpp
View file @
e878ea95
...
...
@@ -78,7 +78,10 @@ typedef void *HANDLE;
#ifndef _MSC_VER
typedef
unsigned
char
BYTE
;
#else
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#undef min
#undef max
#endif
typedef
std
::
vector
<
int
>
vecI
;
...
...
modules/sfm/src/libmv_light/libmv/numeric/numeric.h
View file @
e878ea95
...
...
@@ -43,7 +43,7 @@ static void sincos(double x, double *sinx, double *cosx) {
# endif
#endif // !__MINGW64__
#if (defined(
WIN32) || defined(WIN64
)) && !defined(__MINGW32__)
#if (defined(
_WIN32
)) && !defined(__MINGW32__)
inline
long
lround
(
double
d
)
{
return
(
long
)(
d
>
0
?
d
+
0
.
5
:
ceil
(
d
-
0
.
5
));
}
...
...
modules/xfeatures2d/samples/bagofwords_classification.cpp
View file @
e878ea95
...
...
@@ -14,7 +14,7 @@
#include <memory>
#include <functional>
#if
defined WIN32 || defined
_WIN32
#if
def
_WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#undef min
...
...
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