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
cee4edbb
Commit
cee4edbb
authored
Jan 13, 2017
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: add global defines to enable useful macros
parent
86342522
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
precomp.hpp
modules/line_descriptor/src/precomp.hpp
+2
-0
map_test.cpp
modules/reg/samples/map_test.cpp
+0
-3
erfilter.cpp
modules/text/src/erfilter.cpp
+2
-0
No files found.
modules/line_descriptor/src/precomp.hpp
View file @
cee4edbb
...
...
@@ -46,7 +46,9 @@
#pragma warning( disable : 4267 )
#endif
#ifndef _USE_MATH_DEFINES
#define _USE_MATH_DEFINES
#endif
#include <algorithm>
#include "opencv2/core/utility.hpp"
...
...
modules/reg/samples/map_test.cpp
View file @
cee4edbb
...
...
@@ -36,12 +36,9 @@
//M*/
#include <iostream>
#define _USE_MATH_DEFINES
#include <cmath>
#include <opencv2/imgcodecs.hpp>
#include <opencv2/highgui.hpp> // OpenCV window I/O
#include <opencv2/imgproc.hpp> // OpenCV image transformations
#include <opencv2/imgproc.hpp>
#include <opencv2/imgproc/types_c.h>
#include <opencv2/imgcodecs/imgcodecs_c.h>
#include <opencv2/highgui/highgui_c.h>
...
...
modules/text/src/erfilter.cpp
View file @
cee4edbb
...
...
@@ -51,7 +51,9 @@
typedef
int
int_fast32_t
;
#else
#ifndef INT32_MAX
#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS
#endif
#include <stdint.h>
#endif
#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