Commit 8b071f6d authored by fbarchard@google.com's avatar fbarchard@google.com

force inline for bayer and include basic types

TESTED=xcode build
BUG=none
Review URL: http://webrtc-codereview.appspot.com/233001

git-svn-id: http://libyuv.googlecode.com/svn/trunk@29 16f28f9a-4ce2-e073-06de-1de4eb20be90
parent 27b2d2e4
......@@ -29,9 +29,11 @@
#endif // !ENABLE_DEBUG
#ifdef __GNUC__
// Forces compiler to inline, even against its better judgement. Use wisely.
#if defined(__GNUC__)
#define FORCE_INLINE __attribute__((always_inline))
#elif defined(WIN32)
#define FORCE_INLINE __forceinline
#else
#define FORCE_INLINE
#endif
......
......@@ -10,6 +10,7 @@
#include "convert.h"
#include "basic_types.h"
#include <string.h> // memcpy(), memset()
#include <assert.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment