Subject: Re: SDL troubles.
To: None <current-users@netbsd.org>
From: gabriel rosenkoetter <gr@eclipsed.net>
List: current-users
Date: 05/31/2001 18:57:39
On Thu, May 31, 2001 at 06:26:23PM -0400, gabriel rosenkoetter wrote:
> FileHandler_SDL.cpp:329: #error FileSpecifier::CreateDirectory() not implemented for this platform
> FileHandler_SDL.cpp:392: #error FileSpecifier::Exists() not implemented for this platform
> FileHandler_SDL.cpp:410: #error FileSpecifier::GetDate() not implemented for this platform
> FileHandler_SDL.cpp:560: #error FileSpecifier::GetLastPart() not implemented for this platform
> FileHandler_SDL.cpp:575: #error FileSpecifier::AddPart() not implemented for this platform
> FileHandler_SDL.cpp:599: #error FileSpecifier::SplitPath() not implemented for this platform
> FileHandler_SDL.cpp:625: #error FileSpecifier::canonicalize_path() not implemented for this platform
> FileHandler_SDL.cpp:657: #error FileSpecifier::ReadDirectory() not implemented for this platform
Scratch that.
SDL isn't even C++ so this obviously isn't a problem there.
The code I'm trying use does this:
#if defined(__unix__) || defined(__BEOS__)
(as contransted with defined(__WIN32__)
... which I'm pretty sure is some kind of wrong. What's the actual
symbol they should be checking for here? __unix__ doesn't make any
sense to me, as I thought it ought to be _UNIX, or something like
that...?
(All this aside from the use of #if defined() instead of #ifdef, but
I'm not about to get involved in that.)
~ g r @ eclipsed.net