瀏覽代碼

guard parts w/ __ASSEMBLER__ to be usable in vfork.S

Peter S. Mazinger 19 年之前
父節點
當前提交
559eb16d1d
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      libc/sysdeps/linux/common/bits/sched.h

+ 4 - 0
libc/sysdeps/linux/common/bits/sched.h

@@ -63,6 +63,8 @@
 #endif
 #endif
 
+#ifndef __ASSEMBLER__
+
 /* The official definition.  */
 struct sched_param
   {
@@ -134,3 +136,5 @@ typedef struct
   (((cpusetp)->__bits[__CPUELT (cpu)] & __CPUMASK (cpu)) != 0)
 #endif
 #endif
+
+#endif /* __ASSEMBLER__ */