Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 62b4d5b0 authored by Martin Storsjo's avatar Martin Storsjo
Browse files

stagefright amrwbenc: 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.)

Change-Id: Ifbb1c848b200a8c4080624a3d3bd8b6ee498edb2
parent 97818704
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -29,11 +29,7 @@
#define MIN_16 (Word16)-32768	/* 0x8000 */


#ifdef LINUX
#define  static_vo  static __inline__
#else
#define  static_vo  static __inline
#endif

#define saturate(L_var1) (((L_var1) > 0X00007fffL) ? (MAX_16): (((L_var1) < (Word32) 0xffff8000L) ? (MIN_16): ((L_var1) & 0xffff)))