Skip to content

Commit 71fa9d8

Browse files
committed
Not sure if I need all of these, but it removes the function
1 parent 2163174 commit 71fa9d8

File tree

4 files changed

+21
-0
lines changed

4 files changed

+21
-0
lines changed

mozglue/baseprofiler/moz.build

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,3 +131,9 @@ if CONFIG["CC_TYPE"] in ("clang", "gcc"):
131131

132132
with Files("**"):
133133
BUG_COMPONENT = ("Core", "Gecko Profiler")
134+
135+
DEFINES["PSAPI_VERSION"] = "1"
136+
137+
OS_LIBS += [
138+
'psapi',
139+
]

mozglue/misc/moz.build

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,11 @@ if CONFIG["OS_ARCH"] == "WINNT":
9393
"WindowsUnicode.cpp",
9494
]
9595

96+
DEFINES["PSAPI_VERSION"] = "1"
97+
9698
OS_LIBS += [
9799
"dbghelp",
100+
"psapi",
98101
"oleaut32",
99102
"ole32",
100103
]

tools/fuzzing/libfuzzer/moz.build

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,9 @@ LINK_FLAGS['OS'] = [
5353
f for f in LINK_FLAGS.get('OS', [])
5454
if not f.startswith('-fsanitize')
5555
]
56+
57+
DEFINES["PSAPI_VERSION"] = "1"
58+
59+
OS_LIBS += [
60+
'psapi',
61+
]

tools/profiler/moz.build

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,3 +225,9 @@ if CONFIG["CC_TYPE"] in ("clang", "gcc"):
225225

226226
with Files("**"):
227227
BUG_COMPONENT = ("Core", "Gecko Profiler")
228+
229+
DEFINES["PSAPI_VERSION"] = "1"
230+
231+
OS_LIBS += [
232+
'psapi',
233+
]

0 commit comments

Comments
 (0)