Skip to content

Commit 9f26d4c

Browse files
committed
stagefright aacenc: Simplify the definition of __inline
This reduces the amount of ifdefs needed, into something that works on both gcc and MSVC. This removes one occurrance of the LINUX ifdef, simplifying compiling on various platforms. Change-Id: I1e2af6c2517410dc280197ba922df877cf7afbd5
1 parent b4cee0f commit 9f26d4c

File tree

1 file changed

+1
-3
lines changed
  • media/libstagefright/codecs/aacenc/basic_op

1 file changed

+1
-3
lines changed

media/libstagefright/codecs/aacenc/basic_op/typedefs.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@
4848
#define assert(_Expression) ((void)0)
4949
#endif
5050

51-
#ifdef LINUX
52-
#define __inline static __inline__
53-
#endif
51+
#define __inline static __inline
5452

5553
#define INT_BITS 32
5654
/*

0 commit comments

Comments
 (0)