#270 Patch to define WINADVAPI as dllimport

closed-accepted
w32api (251)
2006-02-10
2006-01-04
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

  • 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.

     
  • SourceForge Robot

    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).

     
  • SourceForge Robot

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

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

Sign up for the SourceForge newsletter:





No, thanks