Replace PLATFORM_WINDOWS to _MSC_VER as it only applies to MSVC (#18047)
authorLoo Rong Jie <loorongjie@gmail.com>
Wed, 28 Mar 2018 20:03:55 +0000 (04:03 +0800)
committerRasmus Munk Larsen <rmlarsen@google.com>
Wed, 28 Mar 2018 20:03:55 +0000 (13:03 -0700)
tensorflow/core/platform/cpu_info.h

index 331f3e5..bb77650 100644 (file)
@@ -18,7 +18,7 @@ limitations under the License.
 
 #include <string>
 
-#if defined(PLATFORM_WINDOWS)
+#if defined(_MSC_VER)
 #include "tensorflow/core/platform/windows/cpu_info.h"
 #endif