1
0
Fork 0
forked from len0rd/rockbox

Replace references to HAVE_RTC with CONFIG_RTC and remove the HAVE_RTC defines from config-*.h

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8147 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2005-12-04 15:23:47 +00:00
parent 0ea71be348
commit 8c800cf59a
27 changed files with 48 additions and 62 deletions

View file

@ -154,7 +154,7 @@ char *create_numbered_filename(char *buffer, const char *path,
return buffer;
}
#ifdef HAVE_RTC
#ifdef CONFIG_RTC
/* Create a filename with a date+time part.
It is allowed that buffer and path point to the same memory location,
saving a strcpy(). Path must always be given without trailing slash. */
@ -175,7 +175,7 @@ char *create_datetime_filename(char *buffer, const char *path,
return buffer;
}
#endif /* HAVE_RTC */
#endif /* CONFIG_RTC */
/* Read (up to) a line of text from fd into buffer and return number of bytes
* read (which may be larger than the number of bytes stored in buffer). If
@ -300,7 +300,7 @@ void screen_dump(void)
static unsigned short line_block[BMP_LINESIZE/2];
#endif
#ifdef HAVE_RTC
#ifdef CONFIG_RTC
create_datetime_filename(filename, "", "dump ", ".bmp");
#else
create_numbered_filename(filename, "", "dump_", ".bmp", 4);