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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/ossocket.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* Copyright 2013 The Chromium Authors. All rights reserved. 1 /* Copyright 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 #ifndef LIBRARIES_NACL_IO_OSSOCKET_H_ 5 #ifndef LIBRARIES_NACL_IO_OSSOCKET_H_
6 #define LIBRARIES_NACL_IO_OSSOCKET_H_ 6 #define LIBRARIES_NACL_IO_OSSOCKET_H_
7 7
8 #include <sys/types.h> 8 #include <sys/types.h>
9 9
10 #if defined(__native_client__) 10 #if !defined(WIN32)
11 #include <arpa/inet.h> 11 #include <arpa/inet.h>
12 #include <netdb.h> 12 #include <netdb.h>
13 #include <netinet/in.h> 13 #include <netinet/in.h>
14 #include <poll.h> 14 #include <poll.h>
15 #include <sys/socket.h> 15 #include <sys/socket.h>
16 #include <sys/select.h> 16 #include <sys/select.h>
17 #define PROVIDES_SOCKET_API 17 #define PROVIDES_SOCKET_API
18 #endif 18 #endif
19 19
20 #endif /* LIBRARIES_NACL_IO_OSSOCKET_H_ */ 20 #endif /* LIBRARIES_NACL_IO_OSSOCKET_H_ */
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/ossignal.h ('k') | native_client_sdk/src/libraries/nacl_io/ostermios.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698