Skip to content

Commit fe889ef

Browse files
authored
build: add the missing macro definitions for OpenHarmony
PR-URL: #59804 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ulises Gascón <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]>
1 parent 0ec1d18 commit fe889ef

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
@@ -125,7 +125,7 @@
125125
},
126126
},
127127
}],
128-
['OS=="linux" or OS=="android"', {
128+
['OS=="linux" or OS=="android" or OS=="openharmony"', {
129129
'defines': [
130130
'HAVE_ARPA_INET_H',
131131
'HAVE_NETINET_IN_H',
@@ -207,7 +207,7 @@
207207
['OS!="win"', {
208208
'defines': ['HAVE_UNISTD_H']
209209
}],
210-
['OS=="linux" or OS=="android"', {
210+
['OS=="linux" or OS=="android" or OS=="openharmony"', {
211211
'defines': [
212212
'HAVE_ARPA_INET_H',
213213
'HAVE_NETINET_IN_H',

0 commit comments

Comments
 (0)