Displaying 2 results from an estimated 2 matches for "must_inlin".
Did you mean:
must_inline
2009 Jul 16
2
[PATCH 1/2] Fix must_inline macro in klibc/compiler.h for gcc-4.3
...piler.h b/usr/include/klibc/compiler.h
index 816a4ee..e0da37e 100644
--- a/usr/include/klibc/compiler.h
+++ b/usr/include/klibc/compiler.h
@@ -24,7 +24,11 @@
/* Use "extern inline" even in the gcc3+ case to avoid warnings in ctype.h */
#ifdef __GNUC__
# if __GNUC__ >= 3
-# define __must_inline extern __inline__ __attribute__((always_inline))
+# ifdef __GNUC_STDC_INLINE__
+# define __must_inline extern __inline__ __attribute__((__gnu_inline__))
+# else
+# define __must_inline extern __inline__ __attribute__((__always_inline__))
+# endif
# else
# define __must_inline extern __in...
2008 Jul 29
2
syconf(_SC_PAGESIZE) versus getpagesize()
hello karel,
thanks a lot for the klibc portability merges.
current HEAD klibc failure:
mkswap.c: In function ?init_signature_page?:
mkswap.c:148: error: ?_SC_PAGESIZE? undeclared (first use in this function)
although POSIX encourages sysconf() could util-linux use getpagesize() ?
--
maks