mirror of
https://github.com/ianlancetaylor/libbacktrace.git
synced 2026-03-31 22:49:09 +08:00
libbacktrace: use WIN32_LEAN_AND_MEAN, not WIN32_MEAN_AND_LEAN
Patch from awmorgan. * fileline.c: Use WIN32_LEAN_AND_MEAN, not WIN32_MEAN_AND_LEAN. * pecoff.c: Likewise. Fixes #144
This commit is contained in:
@@ -48,8 +48,8 @@ POSSIBILITY OF SUCH DAMAGE. */
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_WINDOWS_H
|
#ifdef HAVE_WINDOWS_H
|
||||||
#ifndef WIN32_MEAN_AND_LEAN
|
#ifndef WIN32_LEAN_AND_MEAN
|
||||||
#define WIN32_MEAN_AND_LEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef NOMINMAX
|
#ifndef NOMINMAX
|
||||||
|
|||||||
4
pecoff.c
4
pecoff.c
@@ -40,8 +40,8 @@ POSSIBILITY OF SUCH DAMAGE. */
|
|||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
||||||
#ifdef HAVE_WINDOWS_H
|
#ifdef HAVE_WINDOWS_H
|
||||||
#ifndef WIN32_MEAN_AND_LEAN
|
#ifndef WIN32_LEAN_AND_MEAN
|
||||||
#define WIN32_MEAN_AND_LEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef NOMINMAX
|
#ifndef NOMINMAX
|
||||||
|
|||||||
Reference in New Issue
Block a user