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

Unified Diff: native_client_sdk/src/libraries/nacl_io/ossignal.h

Issue 176923017: [NaCl SDK] Compile for naclio for Bionic (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix bug in h_error Created 6 years, 9 months 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/ossignal.h
diff --git a/native_client_sdk/src/libraries/nacl_io/ossignal.h b/native_client_sdk/src/libraries/nacl_io/ossignal.h
index 796abd9a6259d182b5676af0adeb95c95d29eb8b..146f1cead57fd1c59483c657ae04309a91459a8c 100644
--- a/native_client_sdk/src/libraries/nacl_io/ossignal.h
+++ b/native_client_sdk/src/libraries/nacl_io/ossignal.h
@@ -7,7 +7,7 @@
#if !defined(WIN23)
#include <signal.h>
-#if defined(__GLIBC__)
+#if defined(__GLIBC__) || defined(__BIONIC__)
typedef __sighandler_t sighandler_t;
#else
typedef _sig_func_ptr sighandler_t;

Powered by Google App Engine
This is Rietveld 408576698