diff alt_audio_convert.c @ 465:636796aed4e2

Build/packaging fixes.
author Ryan C. Gordon <icculus@icculus.org>
date Sun, 12 Oct 2003 19:06:44 +0000
parents 5b00e43ec23c
children 45ee760a6f5a
line wrap: on
line diff
--- a/alt_audio_convert.c	Sun Oct 12 19:06:27 2003 +0000
+++ b/alt_audio_convert.c	Sun Oct 12 19:06:44 2003 +0000
@@ -25,6 +25,12 @@
  * (This code blatantly abducted for SDL_sound. Thanks, Frank! --ryan.)
  */
 
+#if HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
+#if SOUND_USE_ALTCVT
+
 #include "alt_audio_convert.h"
 #include <math.h>
 
@@ -1044,3 +1050,8 @@
                      "return value: %d \n\n\n", ret );
     return ret;
 }
+
+#endif  /* SOUND_USE_ALTCVT */
+
+/* end of alt_audio_convert.c ... */
+