Skip to content
Browse files

Simplify the definition of static_vo

For GCC, all of inline, __inline and __inline__ work fine.
For MSVC, only __inline works. (__inline should also be accepted
by RVCT.)
  • Loading branch information...
1 parent a6c2966 commit 6ffcea9040b23bde4741cac182f563f56bde4379 @mstorsjo committed
Showing with 0 additions and 4 deletions.
  1. +0 −4 amrwbenc/inc/basic_op.h
4 amrwbenc/inc/basic_op.h
@@ -29,11 +29,7 @@
#define MIN_16 (Word16)-32768 /* 0x8000 */
-#ifdef LINUX
-#define static_vo static __inline__
#define static_vo static __inline
#define saturate(L_var1) (((L_var1) > 0X00007fffL) ? (MAX_16): (((L_var1) < (Word32) 0xffff8000L) ? (MIN_16): ((L_var1) & 0xffff)))

0 comments on commit 6ffcea9

Please sign in to comment.
Something went wrong with that request. Please try again.