summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsezero <sezero@users.sourceforge.net>2018-11-11 08:01:10 +0300
committerThomas Daede <daede003@umn.edu>2019-01-28 17:12:57 -0800
commitf0761cde7af9ee803b76ccac920675f333afc321 (patch)
treec83c984d0c61560987cabbe9851ee0eec013051f
parent506a1b32cc4e83f41df8c6e7ca5bdc4bb3dec002 (diff)
downloadlibvorbis-git-f0761cde7af9ee803b76ccac920675f333afc321.tar.gz
os.h: make vorbis_ftoi() static inline if !VORBIS_FPU_CONTROL
-rw-r--r--lib/os.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/os.h b/lib/os.h
index 6ac67713..4e9b2809 100644
--- 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 */