Skip to content

Commit 0b284d8

Browse files
hqzingtargos
authored andcommitted
build: add the missing macro definitions for OpenHarmony
PR-URL: #59804 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
1 parent a28962a commit 0b284d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps/ngtcp2/ngtcp2.gyp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
},
123123
},
124124
}],
125-
['OS=="linux" or OS=="android"', {
125+
['OS=="linux" or OS=="android" or OS=="openharmony"', {
126126
'defines': [
127127
'HAVE_ARPA_INET_H',
128128
'HAVE_NETINET_IN_H',
@@ -175,7 +175,7 @@
175175
['OS!="win"', {
176176
'defines': ['HAVE_UNISTD_H']
177177
}],
178-
['OS=="linux" or OS=="android"', {
178+
['OS=="linux" or OS=="android" or OS=="openharmony"', {
179179
'defines': [
180180
'HAVE_ARPA_INET_H',
181181
'HAVE_NETINET_IN_H',

0 commit comments

Comments
 (0)