Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#39 Fixes support for building with NOMINMAX defined

Unstable (example)
closed-fixed
None
5
2014-02-18
2008-01-14
No

When defining NOMINMAX before including windows.h, min and max aren't defined. __min and __max are always defined though. So use them instead.

This patch simply consist of a search of replace for both term.

Discussion

  • NOMINMAX support

     
    • assigned_to: nobody --> nenadstefanovic
     
    • status: open --> closed-fixed
    • Group: --> Unstable (example)
     
  • Thanks for the patch. This is now fixed.

    Changed files:
    atlapp.h
    atlctrlw.h
    atlctrlx.h
    atlfind.h
    atlframe.h
    atlmisc.h
    atlribbon.h
    atlscrl.h