leaving window area question - SDL_Mouse
Quote:Original post by rai_chu
just a quick qestion, is SDL still portable (ie. port to Mac), if we include "window.h"?
Nope [smile] You will have to use another OS header file for a specific functionality. You can add in like:
#ifdef _WIN32#include <windows.h> ... HWND hwnd; ...#endif#ifdef _MACDEFINE#include <mac.h> ... MacHWND hwnd; ...#endifetc...
Those are not the real defines though, you will have to look them up.
- Drew
[Edited by - Drew_Benton on February 17, 2005 8:32:32 PM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement