pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Outdated version of uCON64.



On Sun, Mar 04, 2018 at 04:22:15PM +0100, Thomas Klausner wrote:
> --- libdiscmage/libdiscmage.h.orig	2015-11-16 01:33:49.000000000 +0000
> +++ libdiscmage/libdiscmage.h
> @@ -28,7 +28,7 @@ extern "C" {
>  
>  #include <stdio.h>                              // FILENAME_MAX
>  
> -#if     defined __linux__ || defined __FreeBSD__ || defined __OpenBSD__ || \
> +#if     defined __linux__ || defined __FreeBSD__ || defined __OpenBSD__ || defined(__NetBSD__) \
>          defined __solaris__ || defined __MINGW32__ || defined __CYGWIN__ || \
>          defined __BEOS__ || defined AMIGA || defined __APPLE__ // Mac OS X actually
>  // We cannot use config.h (for HAVE_INTTYPES_H), because this header file may be

A better approach might be to use AC_SUBST and create a local
LIBDISCMAGE_HAVE_INTTYPES_H or so macro in this file.

Joerg


Home | Main Index | Thread Index | Old Index