leaving window area question - SDL_Mouse

Started by
11 comments, last by rai_chu 19 years, 2 months ago
just a quick qestion, is SDL still portable (ie. port to Mac), if we include "window.h"?
Advertisement
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]
thanks,

This topic is closed to new replies.

Advertisement