diff --git a/libraries/shared/src/shared/NsightHelpers.cpp b/libraries/shared/src/shared/NsightHelpers.cpp index 5b952acea8..2539ff8864 100644 --- a/libraries/shared/src/shared/NsightHelpers.cpp +++ b/libraries/shared/src/shared/NsightHelpers.cpp @@ -8,6 +8,7 @@ #include "NsightHelpers.h" +#ifdef _WIN32 #if defined(NSIGHT_FOUND) #include "nvToolsExt.h" @@ -39,3 +40,4 @@ ProfileRange::ProfileRange(const char *name) {} ProfileRange::ProfileRange(const char *name, uint32_t argbColor, uint64_t payload) {} ProfileRange::~ProfileRange() {} #endif +#endif // _WIN32