projects
/
platform
/
upstream
/
libvorbis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
506a1b3
)
os.h: make vorbis_ftoi() static inline if !VORBIS_FPU_CONTROL
author
sezero
<sezero@users.sourceforge.net>
Sun, 11 Nov 2018 05:01:10 +0000
(08:01 +0300)
committer
Thomas Daede
<daede003@umn.edu>
Tue, 29 Jan 2019 01:12:57 +0000
(17:12 -0800)
lib/os.h
patch
|
blob
|
history
diff --git
a/lib/os.h
b/lib/os.h
index
6ac6771
..
4e9b280
100644
(file)
--- a/
lib/os.h
+++ b/
lib/os.h
@@
-60,7
+60,7
@@
void *_alloca(size_t size);
# define FAST_HYPOT hypot
#endif
-#endif
+#endif
/* _V_IFDEFJAIL_H_ */
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
@@
-173,7
+173,7
@@
static __inline void vorbis_fpu_restore(vorbis_fpu_control fpu){
typedef int vorbis_fpu_control;
-
static
int vorbis_ftoi(double f){
+
STIN
int vorbis_ftoi(double f){
/* Note: MSVC and GCC (at least on some systems) round towards zero, thus,
the floor() call is required to ensure correct roudning of
negative numbers */