Skip to content

Commit 62b4d5b

Browse files
committed
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
1 parent 9781870 commit 62b4d5b

File tree

1 file changed

+0
-4
lines changed
  • media/libstagefright/codecs/amrwbenc/inc

1 file changed

+0
-4
lines changed

media/libstagefright/codecs/amrwbenc/inc/basic_op.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,7 @@
2929
#define MIN_16 (Word16)-32768 /* 0x8000 */
3030

3131

32-
#ifdef LINUX
33-
#define static_vo static __inline__
34-
#else
3532
#define static_vo static __inline
36-
#endif
3733

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

0 commit comments

Comments
 (0)