29 lines
670 B
Text
29 lines
670 B
Text
$NetBSD: patch-ak,v 1.1 2007/08/08 18:32:55 joerg Exp $
|
|
|
|
--- csound/dpwelib.h.orig 2007-08-08 17:40:16.000000000 +0000
|
|
+++ csound/dpwelib.h
|
|
@@ -73,24 +73,8 @@
|
|
#define READMODE "rb"
|
|
#define WRITEMODE "wb+"
|
|
|
|
-#ifdef NeXT
|
|
#include <stdlib.h>
|
|
|
|
-#else /* ultrix, not NeXT */
|
|
-#ifdef clipper
|
|
-#else
|
|
-# if defined(LATTICE) || defined(WIN32) || defined(SGI) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__MACH__)
|
|
-# include <stdlib.h>
|
|
-# else
|
|
-# include <unistd.h>
|
|
-# ifndef mac_classic
|
|
-# include <malloc.h>
|
|
-# endif
|
|
-# endif
|
|
-#endif
|
|
-
|
|
-#endif /* NeXT or ultrix */
|
|
-
|
|
#ifdef sun
|
|
#define strchr(A,B) index(A,B)
|
|
#define strrchr(A,B) rindex(A,B)
|