From clamav-devel-bounces@lists.clamav.net  Tue Jun  9 17:57:16 2009
Return-Path: <clamav-devel-bounces@lists.clamav.net>
X-Original-To: list@tad.clamav.net
Delivered-To: list@tad.clamav.net
X-Virus-Scanned: Debian amavisd-new at tad.clamav.net
Received: from tad.clamav.net ([127.0.0.1])
	by localhost (tad.clamav.net [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id fGrVhq7aaCay; Tue,  9 Jun 2009 17:57:16 +0200 (CEST)
Received: from tad.clamav.net (localhost.localdomain [127.0.0.1])
	by tad.clamav.net (Postfix) with ESMTP id 43EDB16C041;
	Tue,  9 Jun 2009 17:57:15 +0200 (CEST)
X-Original-To: clamav-devel@tad.clamav.net
Delivered-To: clamav-devel@tad.clamav.net
X-Virus-Scanned: Debian amavisd-new at tad.clamav.net
Received: from tad.clamav.net ([127.0.0.1])
	by localhost (tad.clamav.net [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id nuNnoR-3z5RG for <clamav-devel@tad.clamav.net>;
	Tue,  9 Jun 2009 17:57:11 +0200 (CEST)
X-Greylist: delayed 401 seconds by postgrey-1.27 at tad;
	Tue, 09 Jun 2009 17:57:11 CEST
Received: from email.aon.at (nat-warsl417-01.aon.at [195.3.96.119])
	by tad.clamav.net (Postfix) with ESMTP id 7AE2D16C021
	for <clamav-devel@lists.clamav.net>;
	Tue,  9 Jun 2009 17:57:11 +0200 (CEST)
Received: (qmail 6178 invoked from network); 9 Jun 2009 15:50:31 -0000
Received: from smarthub96.highway.telekom.at (HELO email.aon.at)
	([172.18.5.235]) (envelope-sender <rurban@x-ray.at>)
	by fallback43.highway.telekom.at (qmail-ldap-1.03) with SMTP
	for <clamav-devel@lists.clamav.net>; 9 Jun 2009 15:50:31 -0000
Received: (qmail 19088 invoked from network); 9 Jun 2009 15:50:30 -0000
Received: from 93-82-89-102.adsl.highway.telekom.at (HELO [10.0.0.5])
	([93.82.89.102]) (envelope-sender <rurban@x-ray.at>)
	by smarthub96.highway.telekom.at (qmail-ldap-1.03) with SMTP
	for <clamav-devel@lists.clamav.net>; 9 Jun 2009 15:50:30 -0000
Message-ID: <4A2E8693.3060705@x-ray.at>
Date: Tue, 09 Jun 2009 17:58:11 +0200
From: Reini Urban <rurban@x-ray.at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT;
	rv:1.8.1.21) Gecko/20090403 SeaMonkey/1.1.16
MIME-Version: 1.0
To: ClamAV Development <clamav-devel@lists.clamav.net>
Subject: [Clamav-devel] DATADIR clash on cygwin/mingw
X-BeenThere: clamav-devel@lists.clamav.net
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: ClamAV Development <clamav-devel@lists.clamav.net>
List-Id: ClamAV Development <clamav-devel.lists.clamav.net>
List-Unsubscribe: <http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-devel>,
	<mailto:clamav-devel-request@lists.clamav.net?subject=unsubscribe>
List-Post: <mailto:clamav-devel@lists.clamav.net>
List-Help: <mailto:clamav-devel-request@lists.clamav.net?subject=help>
List-Subscribe: <http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-devel>,
	<mailto:clamav-devel-request@lists.clamav.net?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: clamav-devel-bounces@lists.clamav.net
Errors-To: clamav-devel-bounces@lists.clamav.net

w32api defines now in /usr/include/w32api/objidl.h:
typedef enum tagDATADIR	{
	DATADIR_GET=1,
	DATADIR_SET
} DATADIR;

This is used in cygwin and mingw.
This clashes with our config #define DATADIR "somedir"

I propose renaming that to DBDIR or CLAMAV_DATADIR.
The upcoming cygwin clamav-0.95.1 build will use CLAMAV_DATADIR.
-- 
Reini Urban
http://phpwiki.org/  http://murbreak.at/
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

