+ added OSX support with a patch from egladil

* fixed pong example to use stdlib instead of csfml-system

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1439 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
trass3r 2010-03-04 02:21:18 +00:00
parent d60a7be49a
commit 8390807b08
4 changed files with 74 additions and 12 deletions

View file

@ -40,4 +40,8 @@ else version(linux)
// Unix - X11 defines an unsigned integer handle (Window)
typedef ulong WindowHandle;
}
else version(darwin)
{
// Mac OS X defines a void* handle (NSWindow)
typedef void* WindowHandle;
}