diff options
author | Asim Shankar <ashankar@google.com> | 2018-04-10 19:20:58 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-04-10 19:23:32 -0700 |
commit | 531e71b799bb8803d7357a501f38bed5c7141921 (patch) | |
tree | 32663a173509c9adcd34709269ce07b7a43faab0 /tensorflow/c/BUILD | |
parent | b675450000753ff77e7a39a9ea84a59210781ea7 (diff) |
experimental C API: Fix compilation failure in Windows.
The functions added in
https://github.com/tensorflow/tensorflow/commit/be917027e37c5e8f21f6ba07f24bdbf072cf6dfd
are temporary, and their existence breaks compilation in MSVC because of
https://docs.microsoft.com/en-us/cpp/c-language/maximum-string-length
and
https://docs.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/compiler-error-c2026
So just disabling it in Windows for now.
PiperOrigin-RevId: 192391164
Diffstat (limited to 'tensorflow/c/BUILD')
-rw-r--r-- | tensorflow/c/BUILD | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow/c/BUILD b/tensorflow/c/BUILD index 2367014cd0..8a9301d584 100644 --- a/tensorflow/c/BUILD +++ b/tensorflow/c/BUILD @@ -122,6 +122,7 @@ tf_cuda_library( "//tensorflow/core:core_cpu", "//tensorflow/core:framework", "//tensorflow/core:lib", + "//tensorflow/core:lib_platform", "//tensorflow/core:protos_all_cc", ], ) |