in reply to Re: Testing JPEGs for validity (windows)
in thread Testing JPEGs for validity (windows)

#if defined(_MSC_VER) or defined(WIN32) #undef setjmp #define setjmp _setjmp #endif
that helped my code to compile on strawberry 5.12. Not that it's the bullet-proof way, but I'm already using many win32-specific switches, so one more doesn't matter.

Replies are listed 'Best First'.
Re^3: Testing JPEGs for validity (windows)
by kosmarnik (Acolyte) on Jul 16, 2010 at 08:49 UTC
    Thanks, that helped.
    Now I have to install it ... and have no clue where to put the resulting files. I tried blindly copying them to perl/lib perl/lib but it won't do.
        ...and that helps HOW?
        If I can't get nmake to run, so I can't just nmake install? I manually run 'lib /out:libmydatasrc.lib mydatasrc.obj' cause makefile makes it crash trying to run the invalid 'cr ' instead of '/out:'.