Skip to content

Commit

Permalink
Merge pull request #1956 from ShiningPluto/use_math_defines
Browse files Browse the repository at this point in the history
Add test for macro _USE_MATH_DEFINES.
  • Loading branch information
taketwo authored Aug 7, 2017
2 parents 9f4e452 + 8dadf45 commit 8664459
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 8664459

Please sign in to comment.