diff --git a/tests/python/include/folly/tracing/StaticTracepoint.h b/tests/python/include/folly/tracing/StaticTracepoint.h index 858b7dbc0cee..8e580309fd9f 100644 --- a/tests/python/include/folly/tracing/StaticTracepoint.h +++ b/tests/python/include/folly/tracing/StaticTracepoint.h @@ -17,7 +17,7 @@ #pragma once #if defined(__ELF__) && (defined(__x86_64__) || defined(__i386__)) && \ - !FOLLY_DISABLE_SDT + !(defined(FOLLY_DISABLE_SDT) && FOLLY_DISABLE_SDT) #include