aboutsummaryrefslogtreecommitdiffstats
path: root/libs/minisat/00_PATCH_wasm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libs/minisat/00_PATCH_wasm.patch')
-rw-r--r--libs/minisat/00_PATCH_wasm.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/minisat/00_PATCH_wasm.patch b/libs/minisat/00_PATCH_wasm.patch
index 0bcff7d77..384930047 100644
--- a/libs/minisat/00_PATCH_wasm.patch
+++ b/libs/minisat/00_PATCH_wasm.patch
@@ -32,3 +32,15 @@
#endif
+#endif
}
+--- System.cc
++++ System.cc
+@@ -24,7 +24,9 @@
+ OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ **************************************************************************************************/
+
++#if !defined(__wasm)
+ #include <signal.h>
++#endif
+ #include <stdio.h>
+
+ #include "System.h"