Skip to content

Commit cd40723

Browse files
committed
Nintendo64: Add _USE_MATH_DEFINES for building on Windows.
1 parent 2200784 commit cd40723

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

common/java_grinder.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
* Java Grinder
33
* Author: Michael Kohn
44
5-
* Web: http://www.mikekohn.net/
5+
* Web: https://www.mikekohn.net/
66
* License: GPLv3
77
*
8-
* Copyright 2014-2022 by Michael Kohn
8+
* Copyright 2014-2023 by Michael Kohn
99
*
1010
*/
1111

@@ -335,7 +335,7 @@ int main(int argc, char *argv[])
335335

336336
printf("\nJava Grinder\n"
337337
"Authors: Michael Kohn, Joe Davisson, Carsten Dost\n"
338-
" Web: http://www.mikekohn.net/micro/java_grinder.php\n"
338+
" Web: https://www.mikekohn.net/micro/java_grinder.php\n"
339339
" Email: [email protected]\n\n"
340340
"Version: " VERSION "\n\n");
341341

generator/Nintendo64.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Java Grinder
33
* Author: Michael Kohn
44
5-
* Web: http://www.mikekohn.net/
5+
* Web: https://www.mikekohn.net/
66
* License: GPLv3
77
*
88
* Copyright 2014-2023 by Michael Kohn
@@ -13,6 +13,7 @@
1313
#include <stdlib.h>
1414
#include <string.h>
1515
#include <stdint.h>
16+
#define _USE_MATH_DEFINES
1617
#include <math.h>
1718

1819
#include "generator/Math.h"

generator/Nintendo64.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Java Grinder
33
* Author: Michael Kohn
44
5-
* Web: http://www.mikekohn.net/
5+
* Web: https://www.mikekohn.net/
66
* License: GPLv3
77
*
88
* Copyright 2014-2023 by Michael Kohn

0 commit comments

Comments
 (0)