Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3dbd7d7

Browse files
committed
Move INADDR_NONE definition to cpp
Fixesarduino/Arduino#1007
1 parent5e21320 commit3dbd7d7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

‎api/IPAddress.cpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,4 @@ size_t IPAddress::printTo(Print& p) const
114114
return n;
115115
}
116116

117+
const IPAddressINADDR_NONE(0,0,0,0);

‎api/IPAddress.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,5 @@ class IPAddress : public Printable {
7272
friendclassDNSClient;
7373
};
7474

75-
const IPAddressINADDR_NONE(0,0,0,0);
75+
externconst IPAddress INADDR_NONE;
7676

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp