Skip to content

Commit

Permalink
Merge pull request #373 from Xilinx/matthias.fix_windows
Browse files Browse the repository at this point in the history
Provide M_LOG10E on Windows
  • Loading branch information
mgehre-amd authored Oct 2, 2024
2 parents 66f98bc + c9d07bd commit cc39d90
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Conversion/TorchOnnxToTorch/DefaultDomainGtoP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
//
//===----------------------------------------------------------------------===//

#define _USE_MATH_DEFINES // for M_LOG10E on Windows
#include <math.h>

#include "torch-mlir/Conversion/TorchOnnxToTorch/Patterns.h"
#include "torch-mlir/Conversion/TorchOnnxToTorch/Utils.h"
#include "torch-mlir/Dialect/Torch/Utils/Utils.h"
Expand Down

0 comments on commit cc39d90

Please sign in to comment.