OSDN Git Service

stagefright aacenc: Simplify the definition of __inline
authorMartin Storsjo <martin@martin.st>
Tue, 5 Apr 2011 14:35:18 +0000 (17:35 +0300)
committerMartin Storsjo <martin@martin.st>
Fri, 13 Jan 2012 18:56:33 +0000 (20:56 +0200)
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

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

index c924e2c..76eb8f1 100644 (file)
@@ -48,9 +48,7 @@
 #define assert(_Expression)     ((void)0)
 #endif
 
-#ifdef LINUX
-#define __inline static __inline__
-#endif
+#define __inline static __inline
 
 #define INT_BITS   32
 /*