diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2023-03-22 11:23:49 +0200 |
---|---|---|
committer | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2023-03-22 11:23:54 +0200 |
commit | f86426fc8a4a6793004a8313415499b6380c0018 (patch) | |
tree | 5a51015b2bd1043bff25cab0bafb7461405db85a | |
parent | 985171be357c48088642815e284581d2c10e84a5 (diff) | |
download | libexpat-git-f86426fc8a4a6793004a8313415499b6380c0018.tar.gz |
winconfig: Avoid redefinition of WIN32_LEAN_AND_MEAN
If it is already defined externally, do not define it again.
-rw-r--r-- | expat/lib/winconfig.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/expat/lib/winconfig.h b/expat/lib/winconfig.h index 2ecd61b5..62caa47b 100644 --- a/expat/lib/winconfig.h +++ b/expat/lib/winconfig.h @@ -35,7 +35,9 @@ #ifndef WINCONFIG_H #define WINCONFIG_H +#ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN +#endif #include <windows.h> #undef WIN32_LEAN_AND_MEAN |