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

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

Issue 73083005: [NaCl SDK] Enable linux host build for nacl_io and nacl_io_tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/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 3ce00718e4893b2133a6d12d353bedd3beca1204..796abd9a6259d182b5676af0adeb95c95d29eb8b 100644
--- a/native_client_sdk/src/libraries/nacl_io/ossignal.h
+++ b/native_client_sdk/src/libraries/nacl_io/ossignal.h
@@ -5,9 +5,9 @@
#ifndef LIBRARIES_NACL_IO_OSSIGNAL_H_
#define LIBRARIES_NACL_IO_OSSIGNAL_H_
-#ifdef __native_client__
+#if !defined(WIN23)
#include <signal.h>
-#ifdef __GLIBC__
+#if defined(__GLIBC__)
typedef __sighandler_t sighandler_t;
#else
typedef _sig_func_ptr sighandler_t;
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/osinttypes.h ('k') | native_client_sdk/src/libraries/nacl_io/ossocket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698