mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-02 09:21:00 +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
aa988ff7ea
commit
6644d14a43
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>
|
2004-07-13 00:21 Alexander Malmberg <alexander@malmberg.org>
|
||||||
|
|
||||||
* Headers/AppKit/NSMovieView.h: Make loopMode ivar an unsigned int.
|
* Headers/AppKit/NSMovieView.h: Make loopMode ivar an unsigned int.
|
||||||
|
|
|
@ -83,8 +83,6 @@ static NSDictionary *nsmapping = nil;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
static id<GSSoundSvr> the_server = nil;
|
|
||||||
|
|
||||||
@interface NSSound (PrivateMethods)
|
@interface NSSound (PrivateMethods)
|
||||||
|
|
||||||
+ (id<GSSoundSvr>) gsnd;
|
+ (id<GSSoundSvr>) gsnd;
|
||||||
|
@ -104,6 +102,8 @@ static id<GSSoundSvr> the_server = nil;
|
||||||
@implementation NSSound (PrivateMethods)
|
@implementation NSSound (PrivateMethods)
|
||||||
|
|
||||||
#ifdef HAVE_AUDIOFILE_H
|
#ifdef HAVE_AUDIOFILE_H
|
||||||
|
static id<GSSoundSvr> the_server = nil;
|
||||||
|
|
||||||
+ (id<GSSoundSvr>) gsnd
|
+ (id<GSSoundSvr>) gsnd
|
||||||
{
|
{
|
||||||
if (the_server == nil)
|
if (the_server == nil)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue