Browse Source

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

Peter S. Mazinger 19 năm trước cách đây
mục cha
commit
559eb16d1d
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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__ */