From 281e75fe5335910ad7717e3d32c9ebc8cf4488a0 Mon Sep 17 00:00:00 2001
From: Chuck Atkins <chuck.atkins@kitware.com>
Date: Mon, 11 Sep 2017 12:15:57 -0400
Subject: [PATCH] Fix bad WIN32 ifdef check

---
 examples/plugins/engine/ExampleEnginePlugin.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/plugins/engine/ExampleEnginePlugin.cpp b/examples/plugins/engine/ExampleEnginePlugin.cpp
index 09d55a509..2fdbf85b0 100644
--- a/examples/plugins/engine/ExampleEnginePlugin.cpp
+++ b/examples/plugins/engine/ExampleEnginePlugin.cpp
@@ -15,7 +15,7 @@
 #include <cstring>
 #include <ctime>
 
-#ifndef _WIN32_
+#ifndef _WIN32
 #include <sys/time.h>
 #endif
 
@@ -27,7 +27,7 @@ std::string now()
 #ifdef _WIN32
     time_t rawTime;
     std::time(&rawTime);
-    timeInfo = std::localtime(&rawtime);
+    timeInfo = std::localtime(&rawTime);
 #else
     timeval curTime;
     gettimeofday(&curTime, nullptr);
-- 
GitLab