Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Sat, 18 Nov 2000 14:58:44 +0900 From: To: cygwin AT sources DOT redhat DOT com Subject: Re: cdrecord: Anyone built under Cygwin? In-Reply-To: References: Message-Id: <3A161A942E6.EC00NKN@post.m98.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver 1.26.05 I've just compiled "cdrtools-1.10a04.tar.gz" with cygwin-1.1.5. >>cdrecord.c: >> >>#ifdef __CYGWIN32__ >> >>/* >> * NOTE: Base.h has a second typedef for BOOL. >> * We define BOOL to make all local code use BOOL >> * from Windows.h and use the hidden __SBOOL for >> * our global interfaces. >> */ >>#define BOOL WBOOL /* This is the Win BOOL */ >>#define format __format >>#include >>#include >>#include >>#include >>#include >>#undef format change following... //----- #define BOOL WBOOL /* This is the Win BOOL */ #define format __format #include #ifndef _ANONYMOUS_UNION #define _UNION_NAME(x) x #define DUMMYUNIONNAME u #define DUMMYUNIONNAME2 u2 #define DUMMYUNIONNAME3 u3 #define DUMMYUNIONNAME4 u4 #define DUMMYUNIONNAME5 u5 #define DUMMYUNIONNAME6 u6 #define DUMMYUNIONNAME7 u7 #define DUMMYUNIONNAME8 u8 #else #define _UNION_NAME(x) #define DUMMYUNIONNAME #define DUMMYUNIONNAME2 #define DUMMYUNIONNAME3 #define DUMMYUNIONNAME4 #define DUMMYUNIONNAME5 #define DUMMYUNIONNAME6 #define DUMMYUNIONNAME7 #define DUMMYUNIONNAME8 #endif #ifndef _ANONYMOUS_STRUCT #define _STRUCT_NAME(x) x #define DUMMYSTRUCTNAME s #define DUMMYSTRUCTNAME2 s2 #define DUMMYSTRUCTNAME3 s3 #else #define _STRUCT_NAME(x) #define DUMMYSTRUCTNAME #define DUMMYSTRUCTNAME2 #define DUMMYSTRUCTNAME3 #endif #include #include #include #undef format //---------- ... and "librscg/scsi-remote.c" #define USE_REMOTE ---> /* #define USE_REMOTE */ Then ... run make. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com