Fix instances of '#if __i386__'.

Triggers -Wundef, which is on in -Weverything.

Bug: http://b/31496165
Change-Id: Ie2241b19abd6257bebf68baa3ecc4de8066c722e
This commit is contained in:
Josh Gao 2016-09-15 13:56:37 -07:00
parent b36efa4343
commit cb728e6f63
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@
#include "private/ScopedPthreadMutexLocker.h"
// x86 uses segment descriptors rather than a direct pointer to TLS.
#if __i386__
#if defined(__i386__)
#include <asm/ldt.h>
void __init_user_desc(struct user_desc*, bool, void*);
#endif

View File

@ -38,7 +38,7 @@ __BEGIN_DECLS
#define PAGE_SIZE 4096
#define PAGE_MASK (~(PAGE_SIZE - 1))
#if __i386__
#if defined(__i386__)
struct user_fpregs_struct {
long cwd;