X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.c;h=96adfcfebc88f2a50b5dd10670c805136593e617;hb=44297fe468c13bcf4f8facc718a325d60531afc5;hp=4a4c4d352e077da8bc0152e349a08220a01ef0ca;hpb=76510834f382bc82548e72c8e7f6f7672c9484dc;p=rocksndiamonds.git diff --git a/src/libgame/system.c b/src/libgame/system.c index 4a4c4d35..96adfcfe 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -857,6 +857,7 @@ void CreateBitmapWithSmallBitmaps(Bitmap *src_bitmap) /* mouse pointer functions */ /* ------------------------------------------------------------------------- */ +#if !defined(PLATFORM_MSDOS) /* XPM */ static const char *cursor_image_playfield[] = { @@ -942,9 +943,11 @@ static struct MouseCursorInfo *get_cursor_from_image(const char **image) return cursor; } +#endif /* !PLATFORM_MSDOS */ void SetMouseCursor(int mode) { +#if !defined(PLATFORM_MSDOS) static struct MouseCursorInfo *cursor_playfield = NULL; if (cursor_playfield == NULL) @@ -955,6 +958,7 @@ void SetMouseCursor(int mode) #elif defined(TARGET_X11_NATIVE) X11SetMouseCursor(mode == CURSOR_PLAYFIELD ? cursor_playfield : NULL); #endif +#endif }