From 2c7b127dd77564a8ca8c384d7d1abed441efe110 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Fri, 16 Mar 2007 23:47:03 +0000 Subject: Set CONFIG_RTC to 0 for non-RTC targets, and check with #if to profit from -Wundef. No code change. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12811 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/recording.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/recorder/recording.c') diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index ffde856612..025480cf91 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c @@ -518,7 +518,7 @@ char *rec_create_filename(char *buffer) snprintf(ext, sizeof(ext), ".%s", REC_FILE_ENDING(global_settings.rec_format)); -#ifdef CONFIG_RTC +#if CONFIG_RTC /* We'll wait at least up to the start of the next second so no duplicate names are created */ return create_datetime_filename(buffer, buffer, "R", ext, true); -- cgit v1.2.3