mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 05:10:47 +00:00
Define png_sizeof() to allow compilation on 1.6.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36177 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
21464c08f1
commit
1e8942edec
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2013-02-21 Riccardo Mottola <rm@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSBitmapImageRep+PNG.m
|
||||||
|
Define png_sizeof() to allow compilation on 1.6.
|
||||||
|
|
||||||
2013-02-19 Fred Kiefer <FredKiefer@gmx.de>
|
2013-02-19 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Tools/make_services.m (main, CheckDirectory)
|
* Tools/make_services.m (main, CheckDirectory)
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
Methods for loading .png images.
|
Methods for loading .png images.
|
||||||
|
|
||||||
Copyright (C) 2003-2011 Free Software Foundation, Inc.
|
Copyright (C) 2003-2013 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Written by: Alexander Malmberg <alexander@malmberg.org>
|
Written by: Alexander Malmberg <alexander@malmberg.org>
|
||||||
Date: 2003-12-07
|
Date: 2003-12-07
|
||||||
|
@ -48,6 +48,10 @@
|
||||||
|
|
||||||
#endif /* HAVE_LIBPNG */
|
#endif /* HAVE_LIBPNG */
|
||||||
|
|
||||||
|
#if !defined png_sizeof
|
||||||
|
#define png_sizeof(x) sizeof(x)
|
||||||
|
#endif
|
||||||
|
|
||||||
/* we import all the standard headers to allow compilation without PNG */
|
/* we import all the standard headers to allow compilation without PNG */
|
||||||
#import <Foundation/NSData.h>
|
#import <Foundation/NSData.h>
|
||||||
#import <Foundation/NSDictionary.h>
|
#import <Foundation/NSDictionary.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue