Skip to content

Commit

Permalink
move the STRICT define into the build system on Windows
Browse files Browse the repository at this point in the history
Summary:
Win32 provides a few defines that make safely using the Windows API
easier. STRICT is one of them. Move it into the build system alongside
NOMINMAX and WIN32_LEAN_AND_MEAN.

Reviewed By: xavierd

Differential Revision: D45823992

fbshipit-source-id: c6849f039198072faaef88c1792a51c60b1c4b50
  • Loading branch information
chadaustin authored and facebook-github-bot committed May 13, 2023
1 parent 950b6f8 commit c18dffc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions eden/common/utils/ProcessName.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,8 @@
// otherwise we get macro definition conflicts through
// transitive includes.
#ifdef _WIN32

#ifndef STRICT
#define STRICT
#endif

#include <windows.h> // @manual
#include <winternl.h> // @manual

#endif

#include "eden/common/utils/ProcessName.h"
Expand Down

0 comments on commit c18dffc

Please sign in to comment.