Menu

#3 Patch to help building with MinGW

closed-accepted
None
5
2004-11-22
2004-11-04
No

This is a very small patch to change a preprocessor
conditional from:

#ifndef _MSC_VER

to:

#ifndef _WIN32

This causes it to apply to both MSVC and MinGW, which
use the same C library (mostly). However, I am not sure
whether this affects Cygwin.

2004-11-04 Luke Dunstan
<infidel@users.sourceforge.net>
* util/util.cpp: Change #ifndef to allow building
with
MinGW as well as MSVC.

Discussion

  • Luke Dunstan

    Luke Dunstan - 2004-11-04

    portability fix

     
  • Mike Van Emmerik

    • status: open --> closed
     
  • Mike Van Emmerik

    Logged In: YES
    user_id=46298

    Works fine with Cygwin either way.

     
  • Mike Van Emmerik

    • assigned_to: nobody --> emmerik
    • status: closed --> closed-accepted