commit | d748586a186826e8e09ddf290a064f84ff5619e6 | [log] [tgz] |
---|---|---|
author | Khaled Hosny <khaled@aliftype.com> | Sat Sep 11 01:11:55 2021 +0200 |
committer | Behdad Esfahbod <behdad@behdad.org> | Mon Sep 13 10:10:10 2021 -0600 |
tree | da04181ab10386acb0a5816757f346b6883445ad | |
parent | e275f0d7edb190fba0e0af56f0e4a7775b7bfccb [diff] |
[style] Try harder to fix MSVC build https://docs.microsoft.com/en-us/cpp/c-runtime-library/math-constants?view=msvc-160
diff --git a/src/hb-style.cc b/src/hb-style.cc index 6e27b59..35871de 100644 --- a/src/hb-style.cc +++ b/src/hb-style.cc
@@ -26,6 +26,7 @@ #ifndef HB_NO_STYLE +#define _USE_MATH_DEFINES #include <math.h> #include "hb-ot-var-avar-table.hh"