diff options
author | Loo Rong Jie <loorongjie@gmail.com> | 2018-04-13 03:36:52 +0800 |
---|---|---|
committer | Derek Murray <derek.murray@gmail.com> | 2018-04-12 12:36:52 -0700 |
commit | 7bf6efa2d8e1172df47c1c4a8a09a007a1a09e8f (patch) | |
tree | 3ce93a2e3f06f6a82235365d24c14dc678e01eed /tensorflow/core/util/memmapped_file_system.cc | |
parent | eaaee5d7aa5df8157c4128568a8f7703458723cd (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.cc | 2 |
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 |