Removed useless ifdef GEKKO and alias, restored rt_memory to 64KB instead of 1MB

This commit is contained in:
fabio.olimpieri 2014-01-26 00:14:30 +00:00
parent 98ef6ae924
commit b3056e1671
5 changed files with 5 additions and 8 deletions

View File

@ -184,7 +184,7 @@ static uae_u32 REGPARAM2 uae_puts (TrapContext *context)
static void rtarea_init_mem (void)
{
rtarea = mapped_malloc (0x100000, "rtarea");
rtarea = mapped_malloc (0x10000, "rtarea");
if (!rtarea) {
write_log ("virtual memory exhausted (rtarea)!\n");
abort ();

View File

@ -364,7 +364,7 @@ get_fs_usage (path, disk, fsp)
#endif /* STAT_STATVFS */
#if !defined(STAT_STATFS2_FS_DATA) && !defined(STAT_READ_FILSYS) && !defined(GEKKO)
#if !defined(STAT_STATFS2_FS_DATA) && !defined(STAT_READ_FILSYS)
/* !Ultrix && !SVR2 */
fsp->fsu_blocks = CONVERT_BLOCKS (fsd.f_blocks);

View File

@ -1421,7 +1421,9 @@ int debuggable (void)
int mousehack_allowed (void)
{
#ifdef GEKKO
return 0;
#endif
return mousehack;
}

View File

@ -335,12 +335,7 @@ extern int gui_message_multibutton (int flags, const char *format,...);
#endif
#ifdef GEKKO
/* Technically not true, but looking at libfat, it seems like
* unlink can remove directories as well */
# define rmdir unlink
/* Definately problems! */
//# define chmod(a,b)
# define dup(fd) fd
# define utime(filename, buf) 0
#endif

View File

@ -35,7 +35,7 @@ static RETSIGTYPE sigbrkhandler (int foo)
void setup_brkhandler (void)
{
#if defined(__unix) && !defined(__NeXT__) && !defined(GEKKO)
#if defined(__unix) && !defined(__NeXT__)
struct sigaction sa;
sa.sa_handler = sigbrkhandler;
sa.sa_flags = 0;