v / vlib / math / math.c.v
14 lines · 12 sloc · 303 bytes · 763f94388b1ceff59c3e68ebda2c9f57197f32a4
Raw
1// Copyright (c) 2019-2024 Alexander Medvednikov. All rights reserved.
2// Use of this source code is governed by an MIT license
3// that can be found in the LICENSE file.
4module math
5
6#include <math.h>
7
8$if windows {
9 $if tinyc {
10 #flag @VEXEROOT/thirdparty/tcc/lib/openlibm.o
11 }
12} $else {
13 #flag -lm
14}
15