Skip to content

Latest commit

 

History

History
32 lines (28 loc) · 717 Bytes

0011-os.h-remove-irrelevant-compatibility-defs.patch

File metadata and controls

32 lines (28 loc) · 717 Bytes
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 272746693f5a74efdfe44a7c2e406531707c72b2 Mon Sep 17 00:00:00 2001
From: sezero <sezero@users.sourceforge.net>
Date: Tue, 20 Mar 2018 11:39:10 +0300
Subject: [PATCH] os.h: remove irrelevant compatibility defs.
---
os.h | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/os.h b/os.h
index 2fdbe08..7e049c7 100644
--- a/os.h
+++ b/os.h
@@ -36,15 +36,8 @@
# define STIN static
#endif
-#ifndef M_PI
-# define M_PI (3.1415926536f)
-#endif
-
#ifdef _WIN32
# include <malloc.h>
-# define rint(x) (floor((x)+0.5f))
-# define NO_FLOAT_MATH_LIB
-# define FAST_HYPOT(a, b) sqrt((a)*(a) + (b)*(b))
# define LITTLE_ENDIAN 1
# define BYTE_ORDER LITTLE_ENDIAN
#endif
--
1.7.1