diff options
author | grant <grant@pkgsrc.org> | 2003-09-14 14:24:12 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-09-14 14:24:12 +0000 |
commit | 61795646fc12cf062d9d78ea6222ba3f307100f8 (patch) | |
tree | 741e6325144bb8e321becebd71a54c86b3b6d53f /pkgtools/libnbcompat | |
parent | 4e3f4c65f9baf984c0dd516691161df1816a9d75 (diff) | |
download | pkgsrc-61795646fc12cf062d9d78ea6222ba3f307100f8.tar.gz |
define _PATH_DEFTAPE in nbcompat.h to avoid redefining it when paths.h
is included.
Diffstat (limited to 'pkgtools/libnbcompat')
-rw-r--r-- | pkgtools/libnbcompat/files/nbcompat.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgtools/libnbcompat/files/nbcompat.h b/pkgtools/libnbcompat/files/nbcompat.h index 444648fc9a5..fb3315e9bb0 100644 --- a/pkgtools/libnbcompat/files/nbcompat.h +++ b/pkgtools/libnbcompat/files/nbcompat.h @@ -1,4 +1,4 @@ -/* $NetBSD: nbcompat.h,v 1.22 2003/09/14 14:10:17 grant Exp $ */ +/* $NetBSD: nbcompat.h,v 1.23 2003/09/14 14:24:12 grant Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -249,6 +249,14 @@ struct { \ #define _PATH_TMP "/tmp/" #endif +#ifndef _PATH_DEFTAPE +# ifdef DEFTAPE +# define _PATH_DEFTAPE DEFTAPE +# else +# define _PATH_DEFTAPE "/dev/tape" +# endif /* DEFTAPE */ +#endif /* _PATH_DEFTAPE */ + typedef struct _stringlist { char **sl_str; size_t sl_max; |