diff --git a/src/nsfns.m b/src/nsfns.m index a2f9c26b550..818ba6f40f1 100644 --- a/src/nsfns.m +++ b/src/nsfns.m @@ -847,6 +847,7 @@ Turn the input menu (an NSMenu) into a lisp list for tracking on lisp side. if (image == nil) { +#ifndef NS_IMPL_GNUSTEP #if MAC_OS_X_VERSION_MAX_ALLOWED >= 120000 #if MAC_OS_X_VERSION_MIN_REQUIRED < 120000 if ([workspace respondsToSelector: @selector (iconForContentType:)]) @@ -857,6 +858,7 @@ Turn the input menu (an NSMenu) into a lisp list for tracking on lisp side. else #endif #endif +#endif #if MAC_OS_X_VERSION_MIN_REQUIRED < 120000 image = [[workspace iconForFileType: @"text"] retain]; #endif