Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mlz
kww
Commits
4770681d
Commit
4770681d
authored
Jan 07, 2020
by
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
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
4770681d
...
...
@@ -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
...
...
lib/kww.c
View file @
4770681d
...
...
@@ -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))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment