delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
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: | <nkn AT m98 DOT ne DOT jp> |
To: | cygwin AT sources DOT redhat DOT com |
Subject: | Re: cdrecord: Anyone built under Cygwin? |
In-Reply-To: | <OF140FB3CE.816D265D-ON8825699A.00721D0D@i2.com> |
References: | <OF140FB3CE DOT 816D265D-ON8825699A DOT 00721D0D AT i2 DOT com> |
Message-Id: | <3A161A942E6.EC00NKN@post.m98.ne.jp> |
MIME-Version: | 1.0 |
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 <vadefs.h> >>#include <Windows32/Base.h> >>#include <Windows32/Defines.h> >>#include <Windows32/Structures.h> >>#include <Windows32/Functions.h> >>#undef format change following... //----- #define BOOL WBOOL /* This is the Win BOOL */ #define format __format #include <vadefs.h> #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 <windef.h> #include <wincon.h> #include <winbase.h> #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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |