about summary refs log tree commit diff stats
path: root/miasm/jitter/vm_mngr.h
diff options
context:
space:
mode:
authorDuncan Ogilvie <mr.exodia.tpodt@gmail.com>2022-10-18 13:45:30 +0200
committerDuncan Ogilvie <mr.exodia.tpodt@gmail.com>2022-10-18 14:42:30 +0200
commitc75d0e0b1c066032d34375dec4c010d42a18381f (patch)
tree8aa085b290f21787b358050b634db9f329a897b0 /miasm/jitter/vm_mngr.h
parent458b98b28d059c81638d7642ebbb7f476a781432 (diff)
downloadfocaccia-miasm-c75d0e0b1c066032d34375dec4c010d42a18381f.tar.gz
focaccia-miasm-c75d0e0b1c066032d34375dec4c010d42a18381f.zip
Further improve the user experience when building on Windows
Diffstat (limited to 'miasm/jitter/vm_mngr.h')
-rw-r--r--miasm/jitter/vm_mngr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/miasm/jitter/vm_mngr.h b/miasm/jitter/vm_mngr.h
index 2bbf2c57..4c8383c4 100644
--- a/miasm/jitter/vm_mngr.h
+++ b/miasm/jitter/vm_mngr.h
@@ -19,8 +19,10 @@
 #define CODENAT_H
 
 #if defined(_WIN32) || defined(_WIN64)
+#ifndef _CRT_SECURE_NO_WARNINGS
 #define _CRT_SECURE_NO_WARNINGS
 #endif
+#endif
 
 #if _WIN32
 #define _MIASM_EXPORT __declspec(dllexport)