Bug 800106: Replace more NS_ALWAYS_INLINEs with MOZ_ALWAYS_INLINE; r=ehsan

This commit is contained in:
Jacek Szpot 2012-10-13 17:52:10 +02:00
parent 875ef290f3
commit 151a2a463e
3 changed files with 8 additions and 3 deletions

View File

@ -58,6 +58,10 @@ To upgrade to a new revision of libjpeg-turbo, do the following:
$ hg addremove
== October 13, 2012 ==
* Modified config.h to use MOZ_ALWAYS_INLINE (bug 800106).
== July 4, 2012 (libjpeg-turbo v1.2.1 r853 2012-06-30) ==
* Updated to v1.2.1 stable release.

View File

@ -3,4 +3,5 @@
#define PACKAGE_NAME "libjpeg-turbo"
/* Need to use Mozilla-specific function inlining. */
#define INLINE NS_ALWAYS_INLINE
#include "mozilla/Attributes.h"
#define INLINE MOZ_ALWAYS_INLINE

View File

@ -39,8 +39,8 @@
#endif
#if defined(NS_ALWAYS_INLINE)
# define MOZALLOC_INLINE NS_ALWAYS_INLINE inline
#if defined(MOZ_ALWAYS_INLINE)
# define MOZALLOC_INLINE MOZ_ALWAYS_INLINE
#elif defined(HAVE_FORCEINLINE)
# define MOZALLOC_INLINE __forceinline
#else