early-access version 2853
This commit is contained in:
13
externals/vcpkg/ports/hwloc/fix_wrong_ifdef.patch
vendored
Executable file
13
externals/vcpkg/ports/hwloc/fix_wrong_ifdef.patch
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
diff --git a/hwloc/topology.c b/hwloc/topology.c
|
||||
index 01e5a863c..211f2cbd1 100644
|
||||
--- a/hwloc/topology.c
|
||||
+++ b/hwloc/topology.c
|
||||
@@ -69,7 +69,7 @@
|
||||
* it will break in cygwin, we'll have to use both putenv() and SetEnvironmentVariable().
|
||||
* Hopefully L0 will be provide a way to enable Sysman without env vars before it happens.
|
||||
*/
|
||||
-#ifdef HWLOC_HAVE_ATTRIBUTE_CONSTRUCTOR
|
||||
+#if HWLOC_HAVE_ATTRIBUTE_CONSTRUCTOR
|
||||
static void hwloc_constructor(void) __attribute__((constructor));
|
||||
static void hwloc_constructor(void)
|
||||
{
|
Reference in New Issue
Block a user