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 --- firmware/export/rtc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/export/rtc.h') diff --git a/firmware/export/rtc.h b/firmware/export/rtc.h index eea83d85bb..3d7a6d6ead 100644 --- a/firmware/export/rtc.h +++ b/firmware/export/rtc.h @@ -23,7 +23,7 @@ #include "system.h" #include "config.h" -#ifdef CONFIG_RTC +#if CONFIG_RTC extern const int dayname[]; -- cgit v1.2.3