X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fnative_client%2Fsrc%2Ftrusted%2Fservice_runtime%2Finclude%2Fsys%2Ffcntl.h;h=9670f11e4b1d9fee538b976c73b78b9b25099432;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=225932c82cd6eab100afe16cf0f48f6cfb746d89;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/native_client/src/trusted/service_runtime/include/sys/fcntl.h b/src/native_client/src/trusted/service_runtime/include/sys/fcntl.h index 225932c..9670f11 100644 --- a/src/native_client/src/trusted/service_runtime/include/sys/fcntl.h +++ b/src/native_client/src/trusted/service_runtime/include/sys/fcntl.h @@ -11,7 +11,7 @@ #ifndef NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_SYS_FCNTL_H_ #define NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_SYS_FCNTL_H_ -#ifdef __native_client__ +#if defined(NACL_IN_TOOLCHAIN_HEADERS) #include #endif @@ -66,7 +66,7 @@ #define NACL_ABI_F_UNLKSYS 4 /* remove remote locks for a given system */ #endif /* !_POSIX_SOURCE */ -#ifdef __native_client__ +#if defined(NACL_IN_TOOLCHAIN_HEADERS) /* file segment locking set data type - information passed to system by user */ struct flock { short l_type; @@ -87,6 +87,6 @@ extern int fcntl(int, int, ...); #ifdef __cplusplus } /* extern "C" */ #endif /* __cplusplus */ -#endif /* __native_client__ */ +#endif /* defined(NACL_IN_TOOLCHAIN_HEADERS) */ #endif