Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#270 Patch to define WINADVAPI as dllimport

closed-accepted
Luke Dunstan
w32api (251)
2006-02-10
2006-01-04
Michael Gerdau
No

The attached patch adds a definition for the keyword
WINADVAPI and ultimately defines it as
__declspec(dllimport).

Even though WINADVAPI is not used in any current
MinGW win32api header, some 3rd party headers do use
it and fail compiling with MinGW when WINADVAPI is
not defined somehow.

Obviously winbase.h is the canonical place for this
#define. The define itself is a trivial copy of the
WINBASEAPI define that's already in winbase.h.

Signed-off-by: Michael Gerdau <mgd@technosis.de>

Best,
Michael

Discussion

  • Michael Gerdau
    Michael Gerdau
    2006-01-04

    Afforementioned unified diff patch

     
  • Danny Smith
    Danny Smith
    2006-01-10

    • milestone: --> IINR_-_Include_In_Next_Release
    • assigned_to: nobody --> infidel
    • status: open --> pending-accepted
     
  • Danny Smith
    Danny Smith
    2006-01-10

    Logged In: YES
    user_id=11494

    Your patch has been accepted and is now commited to CVS. You should expect to see it in the next release.

     
  • Logged In: YES
    user_id=1312539

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 30 days (the time period specified by
    the administrator of this Tracker).

     
    • status: pending-accepted --> closed-accepted