Warning: This file is not a C or C++ file. It does not have highlighting.

1//===-- include/flang/Common/windows-include.h ------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// Wrapper around windows.h that works around the name conflicts.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef FORTRAN_COMMON_WINDOWS_INCLUDE_H_
14#define FORTRAN_COMMON_WINDOWS_INCLUDE_H_
15
16#ifdef _WIN32
17
18#define WIN32_LEAN_AND_MEAN
19#define NOMINMAX
20
21#include <windows.h>
22
23#endif // _WIN32
24
25#endif // FORTRAN_COMMON_WINDOWS_INCLUDE_H_
26

Warning: This file is not a C or C++ file. It does not have highlighting.

source code of flang/include/flang/Common/windows-include.h