]> code.delx.au - gnu-emacs/blobdiff - src/nsimage.m
Update copyright year to 2015
[gnu-emacs] / src / nsimage.m
index cb3d82af281006dcc49ec89a64a7a227a9d72f17..2da22f239f3ee7a4051a305f247541c1183c4df1 100644 (file)
@@ -1,5 +1,5 @@
 /* Image support for the NeXT/Open/GNUstep and MacOSX window system.
-   Copyright (C) 1989, 1992-1994, 2005-2006, 2008-2014 Free Software
+   Copyright (C) 1989, 1992-1994, 2005-2006, 2008-2015 Free Software
    Foundation, Inc.
 
 This file is part of GNU Emacs.
@@ -175,7 +175,7 @@ ns_set_alpha (void *img, int x, int y, unsigned char a)
                      [NSString stringWithUTF8String: SSDATA (found)]];
 
   image->bmRep = nil;
-#if defined (NS_IMPL_COCOA) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
+#ifdef NS_IMPL_COCOA
   imgRep = [NSBitmapImageRep imageRepWithData:[image TIFFRepresentation]];
 #else
   imgRep = [image bestRepresentationForDevice: nil];