summaryrefslogtreecommitdiff
path: root/vpx_ports/asm_offsets.h
diff options
context:
space:
mode:
authorChristian Duvivier <cduvivier@google.com>2012-08-14 14:12:00 -0700
committerChristian Duvivier <cduvivier@google.com>2012-08-14 16:23:32 -0700
commita1168155a748c752b8b19cb539013d8f3cee2fd5 (patch)
tree8c139b38161b1b4f1f6c55dd45b9a1549853a009 /vpx_ports/asm_offsets.h
parent73089031f052228e60233c15c94df822b0c84556 (diff)
downloadlibvpx-a1168155a748c752b8b19cb539013d8f3cee2fd5.tar
libvpx-a1168155a748c752b8b19cb539013d8f3cee2fd5.tar.gz
libvpx-a1168155a748c752b8b19cb539013d8f3cee2fd5.tar.bz2
libvpx-a1168155a748c752b8b19cb539013d8f3cee2fd5.zip
Fix warnings.
Change-Id: I4b911e4173da30c164bde7ea50bc80a70fbbb745
Diffstat (limited to 'vpx_ports/asm_offsets.h')
-rw-r--r--vpx_ports/asm_offsets.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vpx_ports/asm_offsets.h b/vpx_ports/asm_offsets.h
index 05da24f2b..6752463b2 100644
--- a/vpx_ports/asm_offsets.h
+++ b/vpx_ports/asm_offsets.h
@@ -18,7 +18,7 @@
static void assert_##name(void) UNUSED;\
static void assert_##name(void) {switch(0){case 0:case !!(cond):;}}
-#if INLINE_ASM
+#if defined(INLINE_ASM) && INLINE_ASM
#define DEFINE(sym, val) asm("\n" #sym " EQU %0" : : "i" (val));
#define BEGIN int main(void) {
#define END return 0; }