Fixed error in SDL builds.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4767 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Nikos Barkas 2012-02-08 07:32:36 +00:00
parent 331c2bdcad
commit ed24e02775

View File

@ -35,6 +35,16 @@ SOFTWARE.
#import "NSDictionaryOOExtensions.h"
#import "OOMaterialSpecifier.h"
/*
* GNUstep 1.20.1 does not support NSIntegerHashCallBacks but uses
* NSIntHashCallBacks instead. NSIntHashCallBacks was deprecated in favor of
* NSIntegerHashCallBacks in GNUstep versions later than 1.20.1. If we move to
* a newer GNUstep version for Oolite the #define below may not be necessary
* anymore but for now we need it to be able to build. - Nikos 20120208.
*/
#ifdef OOLITE_GNUSTEP
#define NSIntegerHashCallBacks NSIntHashCallBacks
#endif
@interface OODefaultShaderSynthesizer: NSObject
{