#1956 Updates for various header files.

WSL
closed
None
Bug
fixed
Feature_in_WSL_4.0
True
2013-05-15
2013-04-21
No

This patch updates various header files in the mingw-org-wsl git repository:

control.h: Typo - mingw.h should be _mingw.h.
windows.h: winsock.h is deprecated - use winsock2.h
wchar.h and sys/stat.h: memset() is not declared - include string.h

Best regards,
Niels Kristian Bech Jensen

1 Attachments

Discussion

  • Earnie Boyd

    Earnie Boyd - 2013-04-22
    • status: unread --> assigned
    • assigned_to: Earnie Boyd
     
  • Earnie Boyd

    Earnie Boyd - 2013-04-22

    Thank you for the patches. The windows.h change is a "won't fix". If you need winsock2.h you should include it instead of windows.h. This is the documented way to use winsock2.h and it is documented that windows.h will include winsock.h.

     
  • Niels Kristian Bech Jensen

    Hi Earnie.

    Thanks for the reply. Do you have a pointer to an updated Windows API reference?

    Best regards,
    Niels Kristian Bech Jensen

     
    • Earnie Boyd

      Earnie Boyd - 2013-04-22

      I use MSDN for my references as well as google.

       
  • Earnie Boyd

    Earnie Boyd - 2013-05-15

    I modified your patch for the inclusion of string.h so that it is only included if memset() is used.

     
  • Earnie Boyd

    Earnie Boyd - 2013-05-15
    • status: assigned --> closed
    • Resolution: none --> fixed
    • Category: Unknown --> Feature_in_WSL_4.0
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks