[olofsonprojects] Re: SDL_putenv patch

  • From: David Olofson <david@xxxxxxxxxxx>
  • To: olofsonprojects@xxxxxxxxxxxxx
  • Date: Sun, 10 Feb 2008 17:59:00 +0100

On Sunday 10 February 2008, Robert Schuster wrote:
> Hi David,
> attached is a small patch that fixes the built on devices where the
> SDL implementation lacks SDL_putenv. It tries to use the C library's
> putenv instead. If even that is not available it bails out.
[...]

Oh, I also changed the conditional expression for the #include like 
this:

#if !(HAVE_DECL_SDL_PUTENV) && defined (HAVE_PUTENV)


Don't know if the Pascal style logic operators are portable... Is that 
documented anywhere?


//David Olofson - Programmer, Composer, Open Source Advocate

.-------  http://olofson.net - Games, SDL examples  -------.
|        http://zeespace.net - 2.5D rendering engine       |
|       http://audiality.org - Music/audio engine          |
|     http://eel.olofson.net - Real time scripting         |
'--  http://www.reologica.se - Rheology instrumentation  --'
---------------------------------------------------------------------------
The Olofson Projects mailing list.
Home:              http://olofson.net
Archive:           //www.freelists.org/archives/olofsonprojects
Unsubscribe: email olofsonprojects-request@xxxxxxxxxxxxx subj:"unsubscribe"
---------------------------------------------------------------------------

Other related posts: