Add missing compiler directive to ClientCodeTranslatorSnippetBasedTests (#1758)
Motivation:
A missing compiler directive to avoid compiling the snippet-based tests in non-macOS/Linux platforms was causing the build to fail on iOS/tvOS/watchOS.
Modifications:
Add the compiler directive.
Result:
Builds won't fail again in iOS/tvOS/watchOS.