pkgsrc/audio/xamp/patches/patch-aj
blymn fc05b70e56 * Changed the way xamp supports NetBSD, we now have our own audioIO file.
* Added support for 8bit sound cards (it sounds crappy but when it is all
  you have....)
* Fixed bug in debug mode code.
2000-06-18 11:11:51 +00:00

33 lines
721 B
Text

diff -c ../amp.h:1.1.1.1 xamp/amp.h:1.2
*** ../amp.h:1.1.1.1 Wed Jun 14 22:23:47 2000
--- ../amp.h Wed Jun 14 22:23:47 2000
***************
*** 13,22 ****
#define MINOR 7
#define PATCH 6
#define MAX(a,b) ((a) > (b) ? (a) : (b))
#define MAX3(a,b,c) ((a) > (b) ? MAX(a, c) : MAX(b, c))
#define MIN(a,b) ((a) < (b) ? (a) : (b))
!
/* Debugging flags */
--- 13,29 ----
#define MINOR 7
#define PATCH 6
+ #ifdef OS_NetBSD
+ #include <sys/param.h>
+ #endif
+
+ #ifndef OS_NetBSD
#define MAX(a,b) ((a) > (b) ? (a) : (b))
+ #endif
#define MAX3(a,b,c) ((a) > (b) ? MAX(a, c) : MAX(b, c))
+ #ifndef OS_NetBSD
#define MIN(a,b) ((a) < (b) ? (a) : (b))
! #endif
/* Debugging flags */