Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Unified Diff: native_client_sdk/src/libraries/nacl_io/syscalls/fdopen.c

Issue 61763014: Add build target for nacl_io from the NaCl SDK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Add new targets back into all.gyp, readd main function in dsc_info.py Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/libraries/nacl_io/syscalls/fdopen.c
diff --git a/native_client_sdk/src/libraries/nacl_io/syscalls/fdopen.c b/native_client_sdk/src/libraries/nacl_io/syscalls/fdopen.c
index ed252d4a9c83e3388aec8ac80981ef18ccbaebf7..744922298c7c2c720ea900c1cdf1e8d921ad4d44 100644
--- a/native_client_sdk/src/libraries/nacl_io/syscalls/fdopen.c
+++ b/native_client_sdk/src/libraries/nacl_io/syscalls/fdopen.c
@@ -2,7 +2,9 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE
+#endif
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/library.dsc ('k') | native_client_sdk/src/libraries/nacl_io/syscalls/mount.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698