aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/util/memmapped_file_system.cc
diff options
context:
space:
mode:
authorGravatar Loo Rong Jie <loorongjie@gmail.com>2018-04-13 03:36:52 +0800
committerGravatar Derek Murray <derek.murray@gmail.com>2018-04-12 12:36:52 -0700
commit7bf6efa2d8e1172df47c1c4a8a09a007a1a09e8f (patch)
tree3ce93a2e3f06f6a82235365d24c14dc678e01eed /tensorflow/core/util/memmapped_file_system.cc
parenteaaee5d7aa5df8157c4128568a8f7703458723cd (diff)
Replace all COMPILER_MSVC to _MSC_VER and _WIN32 accordingly (#18448)
* Replace all COMPILER_MSVC to _MSC_VER and _WIN32 accordingly * One more ARRAYSIZE to TF_ARRAYSIZE * Delete non-existing include
Diffstat (limited to 'tensorflow/core/util/memmapped_file_system.cc')
-rw-r--r--tensorflow/core/util/memmapped_file_system.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/util/memmapped_file_system.cc b/tensorflow/core/util/memmapped_file_system.cc
index 1fa6b8bec0..d3439cbc93 100644
--- a/tensorflow/core/util/memmapped_file_system.cc
+++ b/tensorflow/core/util/memmapped_file_system.cc
@@ -185,7 +185,7 @@ const void* MemmappedFileSystem::GetMemoryWithOffset(uint64 offset) const {
return reinterpret_cast<const uint8*>(mapped_memory_->data()) + offset;
}
-#if defined(COMPILER_MSVC)
+#if defined(_MSC_VER)
constexpr char* MemmappedFileSystem::kMemmappedPackagePrefix;
constexpr char* MemmappedFileSystem::kMemmappedPackageDefaultGraphDef;
#else