lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #58311] Win32: need to replace <ntddndis.h> include wi


From: Andrey Vinogradov
Subject: [lwip-devel] [bug #58311] Win32: need to replace <ntddndis.h> include with <ndis.h> in pcapif_helper.c
Date: Wed, 6 May 2020 10:27:33 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36

URL:
  <https://savannah.nongnu.org/bugs/?58311>

                 Summary: Win32: need to replace <ntddndis.h> include with
<ndis.h> in pcapif_helper.c
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: andreyvinogradov
            Submitted on: Wed 06 May 2020 02:27:31 PM UTC
                Category: Platform ports
                Severity: 3 - Normal
              Item Group: Compiler Warning
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: git head

    _______________________________________________________

Details:

Hello!

In master branch (lwip and lwip_contrib repos) I noticed that I can compile
pcapif_helper.c file with msvc compiler, but I can't compile it with new
MinGW. Precompiler can't find NDIS_MEDIA_STATE definition. It's in <ndis.h>.

Also I see in my <ntddndis.h> header this line:
"""Notes:
    If you are writing kernel mode code, you should #include <ndis.h> instead
    of including this header directly.
"""




    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?58311>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]