mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-10 14:41:50 +00:00
examples: fix mingw build error
M_PI was not declared error solved
This commit is contained in:
parent
d8f6710c73
commit
a80beff714
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
|||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
#define _USE_MATH_DEFINES
|
||||
|
||||
#include <cmath>
|
||||
#include "Example.h"
|
||||
|
|
Loading…
Add table
Reference in a new issue