aboutsummaryrefslogtreecommitdiff
path: root/tcc/include/sec_api/crtdbg_s.h
diff options
context:
space:
mode:
Diffstat (limited to 'tcc/include/sec_api/crtdbg_s.h')
-rw-r--r--tcc/include/sec_api/crtdbg_s.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/tcc/include/sec_api/crtdbg_s.h b/tcc/include/sec_api/crtdbg_s.h
new file mode 100644
index 0000000..4598b4f
--- /dev/null
+++ b/tcc/include/sec_api/crtdbg_s.h
@@ -0,0 +1,19 @@
+/**
+ * This file has no copyright assigned and is placed in the Public Domain.
+ * This file is part of the w64 mingw-runtime package.
+ * No warranty is given; refer to the file DISCLAIMER within this package.
+ */
+
+#ifndef _INC_CRTDBG_S
+#define _INC_CRTDBG_S
+
+#include <crtdbg.h>
+
+#if defined(MINGW_HAS_SECURE_API)
+
+#define _dupenv_s_dbg(ps1,size,s2,t,f,l) _dupenv_s(ps1,size,s2)
+#define _wdupenv_s_dbg(ps1,size,s2,t,f,l) _wdupenv_s(ps1,size,s2)
+
+#endif
+
+#endif