File tree Expand file tree Collapse file tree 3 files changed +33
-0
lines changed
Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 1616#error eh.h is only for C++!
1717#endif
1818
19+ extern "C++" {
20+ _VCRT_EXPORT_STD class type_info ;
21+ }
22+
1923typedef void (__cdecl * terminate_function )(void );
2024typedef void (__cdecl * terminate_handler )(void );
2125typedef void (__cdecl * unexpected_function )(void );
Original file line number Diff line number Diff line change 1+ /*
2+ * PROJECT: ReactOS SDK
3+ * LICENSE: MIT (https://spdx.org/licenses/MIT)
4+ * PURPOSE: Common definitions
5+ * COPYRIGHT: Copyright 2024 Timo Kreuzer ([email protected] ) 6+ */
17
28#pragma once
39
10+ #define _VCRUNTIME_H
11+
412#include < _mingw.h>
513#include < sal.h>
614#include < vadefs.h>
@@ -70,6 +78,12 @@ _CRT_BEGIN_C_HEADER
7078#endif
7179#endif
7280
81+ #ifdef _BUILD_STD_MODULE
82+ #define _VCRT_EXPORT_STD export
83+ #else
84+ #define _VCRT_EXPORT_STD
85+ #endif
86+
7387#ifdef __GNUC__
7488#define _CRT_DEPRECATE_TEXT (_Text ) __attribute__ ((deprecated))
7589#elif defined(_MSC_VER)
Original file line number Diff line number Diff line change 1+ /*
2+ * PROJECT: ReactOS SDK
3+ * LICENSE: MIT (https://spdx.org/licenses/MIT)
4+ * PURPOSE: Definitions for CRT startup functionality
5+ * COPYRIGHT: Copyright 2024 Timo Kreuzer ([email protected] ) 6+ */
17
28#pragma once
39
10+ #include <vcruntime.h>
11+
12+ _CRT_BEGIN_C_HEADER
13+
414typedef enum _crt_argv_mode
515{
616 _crt_argv_no_arguments ,
@@ -21,4 +31,9 @@ typedef enum _crt_exit_return_mode
2131 _crt_exit_return_to_caller
2232} _crt_exit_return_mode ;
2333
34+ __vcrt_bool __cdecl __vcrt_initialize (void );
2435__vcrt_bool __cdecl __vcrt_uninitialize (_In_ __vcrt_bool _Terminating );
36+
37+ int __cdecl __isa_available_init (void );
38+
39+ _CRT_END_C_HEADER
You can’t perform that action at this time.
0 commit comments