Skip to content

Commit a02cb9e

Browse files
committed
Only add WINHTTP in windows
1 parent c3c5b8d commit a02cb9e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

vendor/libgit2.gyp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"GIT_THREADS",
2020
"GIT_SSH",
2121
"GIT_SSL",
22-
"GIT_WINHTTP",
2322
# Node's util.h may be accidentally included so use this to guard
2423
# against compilation error.
2524
"SRC_UTIL_H_",
@@ -260,6 +259,9 @@
260259
],
261260
}],
262261
["OS=='win'", {
262+
"defines": [
263+
"GIT_WINHTTP",
264+
],
263265
"msvs_settings": {
264266
"VCLinkerTool": {
265267
"AdditionalDependencies": [

0 commit comments

Comments
 (0)