Skip defining WIN32_LEAN_AND_MEAN when it is already defined.

FossilOrigin-Name: 195f5323df800f7963df2ea251c497c72e4d7ff0b88a70f1fa60f13bb1a9fd3b
This commit is contained in:
mistachkin
2018-01-23 07:11:05 +00:00
parent 7ea3469e53
commit 176b3a09b2
4 changed files with 15 additions and 10 deletions
+3 -1
View File
@@ -64,7 +64,9 @@
# define GETPID getpid
#elif !defined(_WIN32_WCE)
# ifndef SQLITE_AMALGAMATION
# define WIN32_LEAN_AND_MEAN
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
# endif
# include <windows.h>
# endif
# define GETPID (int)GetCurrentProcessId
+3
View File
@@ -20,7 +20,10 @@
** We need several data types from the Windows SDK header.
*/
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#include "windows.h"
/*