From 28251959a2edc4c25d1bfa569e8980d0b199a6b3 Mon Sep 17 00:00:00 2001 From: malaterre Date: Mon, 28 Feb 2005 18:56:29 +0000 Subject: [PATCH] BUG: Could not build on Sun + gcc 2.95 --- src/gdcmUtil.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gdcmUtil.cxx b/src/gdcmUtil.cxx index c39885a3..8f18840c 100644 --- a/src/gdcmUtil.cxx +++ b/src/gdcmUtil.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmUtil.cxx,v $ Language: C++ - Date: $Date: 2005/02/17 10:56:20 $ - Version: $Revision: 1.146 $ + Date: $Date: 2005/02/28 18:56:29 $ + Version: $Revision: 1.147 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -577,7 +577,7 @@ int GetMacAddrSys ( unsigned char *addr ) // implementation for POSIX system -#ifdef __sun +#if defined(CMAKE_HAVE_NET_IF_ARP_H) && defined(__sun) //The POSIX version is broken anyway on Solaris, plus would require full //root power struct arpreq parpreq; -- 2.48.1