about summary refs log tree commit diff stats
path: root/miasm2/jitter/vm_mngr_py.h
diff options
context:
space:
mode:
authorAxel Souchet <0vercl0k@tuxfamily.org>2018-09-09 06:11:00 -0700
committerserpilliere <serpilliere@users.noreply.github.com>2018-09-09 15:11:00 +0200
commit8e6b39d80e9f8db8389bd2a8106d0f64b91c19e9 (patch)
treedbf342089690704e89c10532b83d1d81709a49f4 /miasm2/jitter/vm_mngr_py.h
parente61116884ac7879db08313542c6c28a8b00297c5 (diff)
downloadmiasm-8e6b39d80e9f8db8389bd2a8106d0f64b91c19e9.tar.gz
miasm-8e6b39d80e9f8db8389bd2a8106d0f64b91c19e9.zip
Adds Windows support and AppVeyor CI (#835)
* Get miasm to work on Windows, also add AppVeyor CI

* Fix gcc jitter on Linux

* Make the dse_crackme tests work on Windows

* calling build and then install is less confusing than install twice

* fix os.rename race condition on Windows

* clean it up

* Clean up after the unused cl.exe's artifacts

* Use is_win instead of an additional check

* Fix issue on Windows where 'w' and 'wb' modes are different

* Address review feedback

* setuptools is actually not required, so reverting
Diffstat (limited to 'miasm2/jitter/vm_mngr_py.h')
-rw-r--r--miasm2/jitter/vm_mngr_py.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/miasm2/jitter/vm_mngr_py.h b/miasm2/jitter/vm_mngr_py.h
index 3c7c487b..e2e43c65 100644
--- a/miasm2/jitter/vm_mngr_py.h
+++ b/miasm2/jitter/vm_mngr_py.h
@@ -1,7 +1,9 @@
 #ifndef VM_MNGR_PY_H
 #define VM_MNGR_PY_H
 
-
+#ifdef _WIN32
+#define SIGALRM 0
+#endif
 
 typedef struct {
 	PyObject_HEAD