summaryrefslogtreecommitdiff
path: root/firmware/export/pcm_sampr.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-02-17 21:15:06 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-02-17 21:15:06 +0000
commit64a0fb8fd9a02a390d065c266420f8ad056bba19 (patch)
tree4aaf4ff5fcb83c41d132fe5a0c1e639fa7f9252b /firmware/export/pcm_sampr.h
parentab0752c9c05eb1135e9d548e3fab36d13b75ebb9 (diff)
downloadrockbox-64a0fb8fd9a02a390d065c266420f8ad056bba19.tar.gz
rockbox-64a0fb8fd9a02a390d065c266420f8ad056bba19.zip
avoid using #if on undefined symbols, in preparation for -Wundef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12357 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/pcm_sampr.h')
-rw-r--r--firmware/export/pcm_sampr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/pcm_sampr.h b/firmware/export/pcm_sampr.h
index c4a399b62f..4f6d5ddf93 100644
--- a/firmware/export/pcm_sampr.h
+++ b/firmware/export/pcm_sampr.h
@@ -20,6 +20,10 @@
20#ifndef PCM_SAMPR_H 20#ifndef PCM_SAMPR_H
21#define PCM_SAMPR_H 21#define PCM_SAMPR_H
22 22
23#ifndef HW_SAMPR_CAPS
24#define HW_SAMPR_CAPS 0 /* if not defined, we define to 0 */
25#endif
26
23/* These must be macros for comparison with SAMPR_CAP_* flags by the 27/* These must be macros for comparison with SAMPR_CAP_* flags by the
24 preprocessor. Add samplerate index in descending order renumbering 28 preprocessor. Add samplerate index in descending order renumbering
25 the ones later in the list if any */ 29 the ones later in the list if any */