diff options
| -rw-r--r-- | compiler-rt/lib/ubsan/ubsan_platform.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler-rt/lib/ubsan/ubsan_platform.h b/compiler-rt/lib/ubsan/ubsan_platform.h index d781869f98e..3b702175542 100644 --- a/compiler-rt/lib/ubsan/ubsan_platform.h +++ b/compiler-rt/lib/ubsan/ubsan_platform.h @@ -15,7 +15,8 @@ // Other platforms should be easy to add, and probably work as-is. #if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__) || \ - defined(__NetBSD__) || (defined(__sun__) && defined(__svr4__)) || \ + defined(__NetBSD__) || defined(__OpenBSD__) || \ + (defined(__sun__) && defined(__svr4__)) || \ defined(_WIN32) || defined(__Fuchsia__) # define CAN_SANITIZE_UB 1 #else |

