On Fri, 9 Apr 2004 19:15:03 -0500 (CDT)
Randy Kobes <[EMAIL PROTECTED]> wrote:

> On Thu, 8 Apr 2004, Craig Dayton wrote:
> 
> > Hi Frank,
> >
> > Thanks for the Update.
> > In compiling with 'VS .Net 2003', the error shown below is
> > generated. E:\Perl\cpan\build\Apache-DB-0.07>nmake
> >
> > cl -c    -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE
> > -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT
> > -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD
> > -Zi -DNDEBUG -O1 -DVERSION=\"0.07\" -DXS_VERSION=\ "0.07\"
> > "-IE:\Perl\lib\CORE"  DB.c DB.c
> > DB.xs(55) : error C2065: 'SIGINT' : undeclared identifier
> 
> This needs the definition of SIGINT in signal.h on Win32.
> For some reason just including signal.h results for me
> in a syntax error, probably because of some other header
> files also being needed, but as a workaround, putting in
>   #define SIGINT 2
> in DB.xs will allow it to compile.

  Thanks for helping find this bug guys!  So would it be safe
  for me to add that #define to DB.xs in all cases or will that 
  have any bad side effects for *nix installations?  

 ---------------------------------
   Frank Wiles <[EMAIL PROTECTED]>
   http://frank.wiles.org
 ---------------------------------


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to