Merge "Actually set the header guard in "linux-syscalls.h"."
This commit is contained in:
commit
edb7cad9b7
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
/* auto-generated by gensyscalls.py, do not touch */
|
||||
#ifndef _BIONIC_LINUX_SYSCALLS_H_
|
||||
#define _BIONIC_LINUX_SYSCALLS_H_
|
||||
|
||||
#if !defined __ASM_ARM_UNISTD_H && !defined __ASM_I386_UNISTD_H && !defined __ASM_MIPS_UNISTD_H
|
||||
#if defined __arm__ && !defined __ARM_EABI__ && !defined __thumb__
|
||||
|
|
|
@ -425,7 +425,8 @@ class State:
|
|||
D( "generating "+path )
|
||||
fp = create_file( path )
|
||||
fp.write( "/* auto-generated by gensyscalls.py, do not touch */\n" )
|
||||
fp.write( "#ifndef _BIONIC_LINUX_SYSCALLS_H_\n\n" )
|
||||
fp.write( "#ifndef _BIONIC_LINUX_SYSCALLS_H_\n" )
|
||||
fp.write( "#define _BIONIC_LINUX_SYSCALLS_H_\n\n" )
|
||||
fp.write( "#if !defined __ASM_ARM_UNISTD_H && !defined __ASM_I386_UNISTD_H && !defined __ASM_MIPS_UNISTD_H\n" )
|
||||
fp.write( "#if defined __arm__ && !defined __ARM_EABI__ && !defined __thumb__\n" )
|
||||
fp.write( " # define __NR_SYSCALL_BASE 0x900000\n" )
|
||||
|
|
Loading…
Reference in a new issue