mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Only declare the_server if HAVE_AUDIOFILE_H is defined.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19724 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
dea39ef36a
commit
2e9a6a5c61
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-07-13 00:23 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Source/NSSound.m: Only declare the_server if HAVE_AUDIOFILE_H
|
||||
is defined.
|
||||
|
||||
2004-07-13 00:21 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Headers/AppKit/NSMovieView.h: Make loopMode ivar an unsigned int.
|
||||
|
|
|
@ -83,8 +83,6 @@ static NSDictionary *nsmapping = nil;
|
|||
|
||||
@end
|
||||
|
||||
static id<GSSoundSvr> the_server = nil;
|
||||
|
||||
@interface NSSound (PrivateMethods)
|
||||
|
||||
+ (id<GSSoundSvr>) gsnd;
|
||||
|
@ -104,6 +102,8 @@ static id<GSSoundSvr> the_server = nil;
|
|||
@implementation NSSound (PrivateMethods)
|
||||
|
||||
#ifdef HAVE_AUDIOFILE_H
|
||||
static id<GSSoundSvr> the_server = nil;
|
||||
|
||||
+ (id<GSSoundSvr>) gsnd
|
||||
{
|
||||
if (the_server == nil)
|
||||
|
|
Loading…
Reference in a new issue