Permalink
Browse files

Fix several WIN32 macro check problem in cuda module.

  • Loading branch information...
1 parent 29bdf86 commit 1d582c4ff3c634a2cf49cdc9f7e19cd2211968d9 @ShiningPluto ShiningPluto committed Mar 9, 2016
Showing with 3 additions and 3 deletions.
  1. +2 −2 cuda/common/include/pcl/cuda/time_cpu.h
  2. +1 −1 cuda/sample_consensus/src/sac_model.cu
@@ -40,7 +40,7 @@
#include <cmath>
#include <string>
-#ifdef WIN32
+#ifdef _WIN32
# define NOMINMAX
# define WIN32_LEAN_AND_MEAN
# include <Windows.h>
@@ -112,7 +112,7 @@ if (1) {\
inline double
pcl::cuda::getTime ()
{
-#ifdef WIN32
+#ifdef _WIN32
LARGE_INTEGER frequency;
LARGE_INTEGER timer_tick;
QueryPerformanceFrequency(&frequency);
@@ -35,7 +35,7 @@
*
*/
-#ifdef WIN32
+#ifdef _WIN32
# define WIN32_LEAN_AND_MEAN
#endif

0 comments on commit 1d582c4

Please sign in to comment.