]> git.alsa-project.org Git - alsa-tools.git/commitdiff
hdsploader: Temporary define for RPM
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Thu, 28 Jul 2011 21:45:48 +0000 (23:45 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Jul 2011 05:40:10 +0000 (07:40 +0200)
Right now (1.0.24.1), alsa-lib's hdsp.h doesn't know about the RPM. To
avoid a strong dependency on unreleased code, temporary provide the
define here.

It can be dropped as soon as a new version of alsa-lib will be released,
thus effectively making it the required minimum version for alsa-tools.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
hdsploader/hdsploader.c

index fa488a2767cbb8dc43aee71729caddead3bed921..bfbe3bc6f6f58703e322cb27df000f9306f5cbd0 100644 (file)
 
 static u_int32_t code[24413];
 
+#ifndef RPM
+# define RPM   5
+#endif
+
 int read_bin_file(u_int32_t *array, const char *filename)
 {
        FILE *out;