M_PI(math.h) using fix & dirent.h is existed in MinGW (#22054)

* M_PI(math.h) using fix & dirent.h is existed in MinGW

* fix for clang codestyle
This commit is contained in:
HyungKi Jeong 2024-01-10 18:23:57 +09:00 committed by GitHub
parent 0cf87a1a57
commit 58af209120
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 7 deletions

View File

@ -7,7 +7,7 @@
#include <iostream>
#ifdef _WIN32
#if defined(_WIN32) && !defined(__MINGW32__) && !defined(__MINGW64__)
# include "samples/os/windows/w_dirent.h"
#else
# include <dirent.h>

View File

@ -1,14 +1,16 @@
// Copyright (C) 2018-2023 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
#define _USE_MATH_DEFINES
#include "op/blackmanwindow.hpp"
#include <math.h>
#include <memory>
#include "default_opset.hpp"
#include "utils/common.hpp"
#define _USE_MATH_DEFINES
#include <math.h>
OPENVINO_SUPPRESS_DEPRECATED_START
namespace ngraph {

View File

@ -1,14 +1,16 @@
// Copyright (C) 2018-2023 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
#define _USE_MATH_DEFINES
#include "op/hammingwindow.hpp"
#include <math.h>
#include <memory>
#include "default_opset.hpp"
#include "utils/common.hpp"
#define _USE_MATH_DEFINES
#include <math.h>
OPENVINO_SUPPRESS_DEPRECATED_START
namespace ngraph {

View File

@ -1,14 +1,16 @@
// Copyright (C) 2018-2023 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
#define _USE_MATH_DEFINES
#include "op/hannwindow.hpp"
#include <math.h>
#include <memory>
#include "default_opset.hpp"
#include "utils/common.hpp"
#define _USE_MATH_DEFINES
#include <math.h>
OPENVINO_SUPPRESS_DEPRECATED_START
namespace ngraph {