projects
/
platform
/
upstream
/
tensorflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52aeafd
)
Replace PLATFORM_WINDOWS to _MSC_VER as it only applies to MSVC (#18047)
author
Loo Rong Jie
<loorongjie@gmail.com>
Wed, 28 Mar 2018 20:03:55 +0000
(
04:03
+0800)
committer
Rasmus Munk Larsen
<rmlarsen@google.com>
Wed, 28 Mar 2018 20:03:55 +0000
(13:03 -0700)
tensorflow/core/platform/cpu_info.h
patch
|
blob
|
history
diff --git
a/tensorflow/core/platform/cpu_info.h
b/tensorflow/core/platform/cpu_info.h
index
331f3e5
..
bb77650
100644
(file)
--- a/
tensorflow/core/platform/cpu_info.h
+++ b/
tensorflow/core/platform/cpu_info.h
@@
-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