Commit f0761cde authored by sezero's avatar sezero Committed by Thomas Daede
Browse files

os.h: make vorbis_ftoi() static inline if !VORBIS_FPU_CONTROL

parent 506a1b32
......@@ -60,7 +60,7 @@ void *_alloca(size_t size);
# define FAST_HYPOT hypot
#endif /* _V_IFDEFJAIL_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 */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment