Fix a few compilation warnings on Linux; Fix a possible bug in Mode5 loader; Removed a pair of debug printfs in realpath.c
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1933 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -32,7 +32,11 @@
|
||||
#include <dirent.h>
|
||||
#endif
|
||||
|
||||
// On Debian, this is already implied in dirent.h
|
||||
// I don't know which targets need it and what it does. - yr
|
||||
#ifndef _XOPEN_SOURCE
|
||||
#define _XOPEN_SOURCE 500
|
||||
#endif
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
@@ -5533,4 +5537,4 @@ void Button_Brush_container(void)
|
||||
byte Any_effect_active(void)
|
||||
{
|
||||
return Shade_mode||Quick_shade_mode||Colorize_mode||Smooth_mode||Tiling_mode||Smear_mode||Stencil_mode||Mask_mode||Sieve_mode||Snap_mode||Main_tilemap_mode;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user