Browse Source

some (all?) archs don't define asm, so use builtin __asm__

Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley 15 years ago
parent
commit
02b44fe054
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libc/misc/internals/__uClibc_main.c

+ 1 - 1
libc/misc/internals/__uClibc_main.c

@@ -109,7 +109,7 @@ _pthread_cleanup_pop_restore(struct _pthread_cleanup_buffer *__buffer,
 static __always_inline int not_null_ptr(const void *p)
 {
 	const void *q;
-	asm (""
+	__asm__ (""
 		: "=r" (q) /* output */
 		: "0" (p) /* input */
 	);