-#define COMPILE_DATE_STRING "[2003-08-04 22:16]"
+#define COMPILE_DATE_STRING "[2003-08-04 23:02]"
/* system info functions */
/* ------------------------------------------------------------------------- */
+#if !defined(PLATFORM_MSDOS)
static char *get_corrected_real_name(char *real_name)
{
char *real_name_new = checked_malloc(MAX_USERNAME_LEN + 1);
return real_name_new;
}
+#endif
char *getLoginName()
{
/* mouse pointer functions */
/* ------------------------------------------------------------------------- */
+#if !defined(PLATFORM_MSDOS)
/* XPM */
static const char *cursor_image_playfield[] =
{
return cursor;
}
+#endif /* !PLATFORM_MSDOS */
void SetMouseCursor(int mode)
{
+#if !defined(PLATFORM_MSDOS)
static struct MouseCursorInfo *cursor_playfield = NULL;
if (cursor_playfield == NULL)
#elif defined(TARGET_X11_NATIVE)
X11SetMouseCursor(mode == CURSOR_PLAYFIELD ? cursor_playfield : NULL);
#endif
+#endif
}
return pixel_value;
}
+#if defined(TARGET_X11_NATIVE)
inline Pixel X11GetPixelFromRGB(unsigned int color_r, unsigned int color_g,
unsigned int color_b)
{
return pixel;
}
+#endif /* TARGET_X11_NATIVE */
+
/* ------------------------------------------------------------------------- */
/* mouse pointer functions */