mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
build: add the missing macro definitions for OpenHarmony
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
4
deps/ngtcp2/ngtcp2.gyp
vendored
4
deps/ngtcp2/ngtcp2.gyp
vendored
@@ -125,7 +125,7 @@
|
||||
},
|
||||
},
|
||||
}],
|
||||
['OS=="linux" or OS=="android"', {
|
||||
['OS=="linux" or OS=="android" or OS=="openharmony"', {
|
||||
'defines': [
|
||||
'HAVE_ARPA_INET_H',
|
||||
'HAVE_NETINET_IN_H',
|
||||
@@ -207,7 +207,7 @@
|
||||
['OS!="win"', {
|
||||
'defines': ['HAVE_UNISTD_H']
|
||||
}],
|
||||
['OS=="linux" or OS=="android"', {
|
||||
['OS=="linux" or OS=="android" or OS=="openharmony"', {
|
||||
'defines': [
|
||||
'HAVE_ARPA_INET_H',
|
||||
'HAVE_NETINET_IN_H',
|
||||
|
||||
Reference in New Issue
Block a user