URL:
  <http://gna.org/bugs/?24292>

                 Summary: <direct.h> not found (MSYS2)
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Fri 08 Jan 2016 09:19:26 AM EET
                Category: bootstrap
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: Ready For Test
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: None
         Planned Release: 2.5.3, 2.6.0, 3.0.0

    _______________________________________________________

Details:

shared.c tries to include <direct.h> that does not exist.

Attached fix adds configure check and includes <direct.h> only if present.
This is TRUNK/S2_6 version, S2_5 version implementation depends on what we
decide to backport otherwise.

It would be needed for "_mkdir()", but it seems we get away with warning at
this time (needs to be properly fixed before we claim to support MSYS2)



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 08 Jan 2016 09:19:26 AM EET  Name: DirectHCheck.patch  Size: 1kB  
By: cazfi

<http://gna.org/bugs/download.php?file_id=26315>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?24292>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to