-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch to fix missing sig_atomic_t issue
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
recipe/0002-Include-signal.h-to-support-sig_atomic_t.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
From cf9c5c38b6896586568fc7e27db1bd222bd2b45a Mon Sep 17 00:00:00 2001 | ||
From: mauzey1 <[email protected]> | ||
Date: Mon, 24 Jun 2024 11:28:05 -0700 | ||
Subject: [PATCH 2/2] Include signal.h to support sig_atomic_t | ||
|
||
--- | ||
Src/_cmormodule.c | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/Src/_cmormodule.c b/Src/_cmormodule.c | ||
index 744bb46..da1036a 100644 | ||
--- a/Src/_cmormodule.c | ||
+++ b/Src/_cmormodule.c | ||
@@ -1,4 +1,5 @@ | ||
#include <Python.h> | ||
+#include <signal.h> | ||
#define NPY_NO_DEPRECATED_API NPY_1_10_API_VERSION | ||
|
||
#include "numpy/arrayobject.h" | ||
-- | ||
2.39.2 (Apple Git-143) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters