Skip to content

Commit 01dec19

Browse files
Merge pull request tensorflow#25183 from rongjiecomputer:st
PiperOrigin-RevId: 231019778
2 parents 8a1aca3 + 006c3c9 commit 01dec19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tensorflow/core/platform/default/stacktrace.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ limitations under the License.
1717
#define TENSORFLOW_CORE_PLATFORM_DEFAULT_STACKTRACE_H_
1818

1919
#include "tensorflow/core/platform/platform.h"
20-
#if !defined(IS_MOBILE_PLATFORM) && defined(PLATFORM_POSIX) && \
21-
(defined(__clang__) || defined(__GNUC__))
20+
#if !defined(IS_MOBILE_PLATFORM) && !defined(PLATFORM_WINDOWS) && \
21+
defined(PLATFORM_POSIX) && (defined(__clang__) || defined(__GNUC__))
2222
#define TF_GENERATE_BACKTRACE
2323
#endif
2424

0 commit comments

Comments
 (0)