Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test for macro _USE_MATH_DEFINES. #1956

Merged
merged 1 commit into from
Aug 7, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions common/include/pcl/pcl_macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ namespace pcl
#include <iostream>
#include <stdarg.h>
#include <stdio.h>
#ifndef _USE_MATH_DEFINES
#define _USE_MATH_DEFINES
#endif
#include <math.h>

// MSCV doesn't have std::{isnan,isfinite}
Expand Down
2 changes: 0 additions & 2 deletions people/src/hog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@

#include <pcl/people/hog.h>

#define _USE_MATH_DEFINES
#include <math.h>
#include <string.h>

#if defined(__SSE2__)
Expand Down