mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-10 06:34:01 +00:00
examples: fix mingw build error
M_PI was not declared error solved
This commit is contained in:
parent
38f6ff4380
commit
42c4190112
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
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
#define _USE_MATH_DEFINES
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include "Example.h"
|
#include "Example.h"
|
||||||
|
|
Loading…
Add table
Reference in a new issue