[Clamav-devel] DATADIR clash on cygwin/mingw

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Reini Urban
Date:  
To: ClamAV Development
Subject: [Clamav-devel] DATADIR clash on cygwin/mingw
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