aboutsummaryrefslogtreecommitdiff
path: root/tinycc/win32/include/sec_api/stralign_s.h
diff options
context:
space:
mode:
authorUneven Prankster <unevenprankster@protonmail.com>2023-07-12 21:05:57 -0300
committerUneven Prankster <unevenprankster@protonmail.com>2023-07-12 21:05:57 -0300
commit111c133b939c15c57c90cd474d55e84928c6307a (patch)
tree3e6ed21eaaf21a8f8f4c5c9933972ea476d37b8e /tinycc/win32/include/sec_api/stralign_s.h
parentfa2bdd711212ba6b7a94a20971e8bfa281e73296 (diff)
Officially past the point of no return. C scripting works!
Diffstat (limited to 'tinycc/win32/include/sec_api/stralign_s.h')
-rw-r--r--tinycc/win32/include/sec_api/stralign_s.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/tinycc/win32/include/sec_api/stralign_s.h b/tinycc/win32/include/sec_api/stralign_s.h
deleted file mode 100644
index 5b78f58..0000000
--- a/tinycc/win32/include/sec_api/stralign_s.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * 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 __STRALIGN_H_S_
-#define __STRALIGN_H_S_
-
-#include <stralign.h>
-
-#if defined(MINGW_HAS_SECURE_API)
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#if !defined(I_X86_) && defined(_WSTRING_S_DEFINED)
-#if defined(__cplusplus) && defined(_WConst_Return)
- static __inline PUWSTR ua_wcscpy_s(PUWSTR Destination,size_t DestinationSize,PCUWSTR Source) {
- if(WSTR_ALIGNED(Source) && WSTR_ALIGNED(Destination)) return (wcscpy_s((PWSTR)Destination,DestinationSize,(PCWSTR)Source)==0 ? Destination : NULL);
- return uaw_wcscpy((PCUWSTR)String,Character);
- }
-#endif
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-#endif
-#endif