X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_cursor.c;h=557a9b8b8605597ab62a43cb4e33096c5e9b6033;hb=796957d75280b0b50fb2c41a0f90fc25522b9a3a;hp=66ed155f087ef7ca8307d3baf7576fa854b12f6a;hpb=d8934449641e3b6704df05427a55cb934fad3427;p=freeglut diff --git a/src/freeglut_cursor.c b/src/freeglut_cursor.c index 66ed155..557a9b8 100644 --- a/src/freeglut_cursor.c +++ b/src/freeglut_cursor.c @@ -28,7 +28,7 @@ #include #include "freeglut_internal.h" -#if TARGET_HOST_UNIX_X11 +#if TARGET_HOST_POSIX_X11 #include #endif @@ -43,7 +43,7 @@ /* -- PRIVATE FUNCTIONS --------------------------------------------------- */ -#if TARGET_HOST_UNIX_X11 +#if TARGET_HOST_POSIX_X11 /* * A factory method for an empty cursor */ @@ -111,7 +111,7 @@ static cursorCacheEntry cursorCache[] = { */ void fgSetCursor ( SFG_Window *window, int cursorID ) { -#if TARGET_HOST_UNIX_X11 +#if TARGET_HOST_POSIX_X11 { Cursor cursor; /* @@ -156,7 +156,7 @@ void fgSetCursor ( SFG_Window *window, int cursorID ) } } -#elif TARGET_HOST_WIN32 || TARGET_HOST_WINCE +#elif TARGET_HOST_MS_WINDOWS /* * This is a temporary solution only... @@ -234,7 +234,7 @@ void FGAPIENTRY glutWarpPointer( int x, int y ) FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutWarpPointer" ); FREEGLUT_EXIT_IF_NO_WINDOW ( "glutWarpPointer" ); -#if TARGET_HOST_UNIX_X11 +#if TARGET_HOST_POSIX_X11 XWarpPointer( fgDisplay.Display, @@ -246,7 +246,7 @@ void FGAPIENTRY glutWarpPointer( int x, int y ) /* Make the warp visible immediately. */ XFlush( fgDisplay.Display ); -#elif TARGET_HOST_WIN32 || TARGET_HOST_WINCE +#elif TARGET_HOST_MS_WINDOWS { POINT coords;