1. 14 Apr, 2006 1 commit
  2. 23 Mar, 2006 1 commit
  3. 21 Feb, 2006 1 commit
  4. 20 Feb, 2006 1 commit
    • Sam Lantinga's avatar
      NetBSD support · 5427ab02
      Sam Lantinga authored
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401387
      5427ab02
  5. 16 Feb, 2006 1 commit
  6. 10 Feb, 2006 1 commit
  7. 07 Feb, 2006 1 commit
    • Sam Lantinga's avatar
      Use SDL_ prefixed versions of C library functions. · 5d53175e
      Sam Lantinga authored
      FIXME:
      Change #include <stdlib.h> to #include "SDL_stdlib.h"
      Change #include <string.h> to #include "SDL_string.h"
      Make sure nothing else broke because of this...
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401340
      5d53175e
  8. 03 Feb, 2006 1 commit
    • Sam Lantinga's avatar
      From: Hayashi Naoyuki · 2a89b508
      Sam Lantinga authored
      I tried to compile with gcc on Tru64, and got the following error.
      SDL_systimer.c:45:45: error: operator '&&' has no right operand
      
      It succeeds if changing
      #if (defined _POSIX_TIMERS && _POSIX_TIMERS > 0)
      to
      #if (defined _POSIX_TIMERS && _POSIX_TIMERS + 0 > 0)
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401329
      2a89b508
  9. 01 Feb, 2006 1 commit
  10. 11 Oct, 2005 3 commits
    • Ryan C. Gordon's avatar
      POSIX clock_gettime() isn't available on Linux before 2.6, and the symbol may · 071e2180
      Ryan C. Gordon authored
       just be flat out missing from glibc, so force use of previous gettimeofday()
       behaviour for now.
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401161
      071e2180
    • Ryan C. Gordon's avatar
      Date: Mon, 10 Oct 2005 13:09:32 +0300 · 5f482106
      Ryan C. Gordon authored
      From: Tommi Kyntola <tommi.kyntola@ray.fi>
      To: sdl@libsdl.org
      Subject: [SDL] [RFC] get_ticks broken on linux
      
      It uses gettimeofday to calculate the timedifference.
      Gettimeofday returns current time which is seldom monotonous.
      This breaks SDL timer subsystem. (time callbacks and all that
      get borked when the time difference ms is suddenly ~ 2^32)
      
      I posted a message about this earlier but got no response.
      Some thoughts on this matter would be appreciated.
      (Or even an explanation for the lack of interest.)
      
      A patch below would use the posix timers that have been around
      since posix 93 and do provide a good source of monotonous time
      on linux boxes (and on few others too).
      
      The following patch is also availabe at:
      http://www.hut.fi/u/tkyntola/SDL-1.2.9-clockfix.patch
      
      It's against 1.2.9, but I can easily rediffit against
      the cvs branch is needed.
      
      cheers,
      Tommi Kyntola            tommi.kyntola@ray.fi
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401160
      5f482106
    • Ryan C. Gordon's avatar
      Date: Tue, 11 Oct 2005 16:58:12 +0300 (EEST) · cdc45512
      Ryan C. Gordon authored
      From: =?ISO-8859-1?Q?Martin_Storsj=F6?= <martin@martin.st>
      To: sdl@libsdl.org
      Subject: [SDL] [PATCH] Use nanosleep on OS X
      
      Hi,
      
      The current version of SDL_Delay on OS X seems to always sleep at least 10
      msec. OS X has nanosleep(), which performs shorter sleeps well. The
      attached patch makes it use that one instead of select() as currently.
      
      // Martin
      
      --HG--
      extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401159
      cdc45512
  11. 04 Jan, 2004 1 commit
  12. 13 Jun, 2002 1 commit
  13. 04 Jun, 2002 1 commit
  14. 24 Mar, 2002 1 commit
  15. 23 Mar, 2002 1 commit
  16. 06 Mar, 2002 1 commit
  17. 14 Dec, 2001 1 commit
  18. 04 Sep, 2001 1 commit
  19. 26 Apr, 2001 2 commits