-
-
Notifications
You must be signed in to change notification settings - Fork 179
/
Copy pathnanoPAL_Network.h
28 lines (23 loc) · 1014 Bytes
/
nanoPAL_Network.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//
// Copyright (c) .NET Foundation and Contributors
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#ifndef NETWORK_DECL_H
#define NETWORK_DECL_H
#ifdef PLATFORM_DEPENDENT__SOCKETS_MAX_COUNT
#define SOCKETS_MAX_COUNT PLATFORM_DEPENDENT__SOCKETS_MAX_COUNT
#else
// required to have at least one for array init
////////////////////////////////////////////////////////////////////////////////////////////////////////
// PLATFORM_DEPENDENT__SOCKETS_MAX_COUNT not defined at target or platform level, using default value //
////////////////////////////////////////////////////////////////////////////////////////////////////////
#define SOCKETS_MAX_COUNT 1
#endif
#ifdef PLATFORM_DEPENDENT__SOCKETS_MAX_SEND_LENGTH
#define SOCKETS_MAX_SEND_LENGTH PLATFORM_DEPENDENT__SOCKETS_MAX_SEND_LENGTH
#endif
#if !defined(DEBGGER_NETWORK_INTERFACE_INDEX)
#define DEBGGER_NETWORK_INTERFACE_INDEX 0
#endif
#endif //NETWORK_DECL_H