Commit 4770681d authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

+ .gitlab.ci comment; + include inttypes.h for printf 'L' under MinGW

parent 3d1271ab
Pipeline #14542 passed with stage
in 11 minutes and 24 seconds
......@@ -133,6 +133,7 @@ windows:
script:
- New-Item -ItemType "directory" -Confirm:$false -Force:$true -Name "build"
- cd build
# We want to compile with MinGW. Somehow this is accompished by Ninja.
- cmake -G "Ninja" -DLIB_MAN=OFF -DCMAKE_INSTALL_PREFIX=C:\opt\x64 -B. ..
- cmake --build . # --config Release
- Get-Location
......
......@@ -38,7 +38,10 @@
#include <math.h>
#include <float.h> // OBSOLETE
#include <errno.h>
#include <inttypes.h> // for printf 'L' under MinGW
#include "kww.h"
#define PI 3.14159265358979323846L /* pi */
#define PI_2 1.57079632679489661923L /* pi/2 */
#define SQR(x) ((x)*(x))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment