mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
Protect other architectures from i386 and amd64 specifics.
Disallow warnings in this module(like it was before). svn path=/branches/ros-amd64-bringup/; revision=36175
This commit is contained in:
Vendored
+2
@@ -202,7 +202,9 @@ __mingw_CRTStartup (void)
|
||||
if (__dyn_tls_init_callback != NULL && _IsNonwritableInCurrentImage ((PBYTE) &__dyn_tls_init_callback))
|
||||
__dyn_tls_init_callback (NULL, DLL_THREAD_ATTACH, NULL);
|
||||
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
_pei386_runtime_relocator ();
|
||||
#endif
|
||||
|
||||
#if defined(__x86_64__)
|
||||
__asm__ __volatile__ (
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE group SYSTEM "../../../tools/rbuild/project.dtd">
|
||||
<group>
|
||||
<module name="mingw_common" type="staticlibrary" isstartuplib="true" underscoresymbols="true" allowwarnings="true">
|
||||
<module name="mingw_common" type="staticlibrary" isstartuplib="true" underscoresymbols="true">
|
||||
<importlibrary definition="moldname-msvcrt.def" dllname="msvcrt.dll" />
|
||||
<include base="mingw_common">include</include>
|
||||
<file>CRT_fp10.c</file>
|
||||
|
||||
+4
@@ -12,6 +12,9 @@
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*/
|
||||
|
||||
/* Only necesary on x86 and amd64 targets */
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
extern char __RUNTIME_PSEUDO_RELOC_LIST__;
|
||||
@@ -44,3 +47,4 @@ _pei386_runtime_relocator ()
|
||||
&__RUNTIME_PSEUDO_RELOC_LIST_END__,
|
||||
&_image_base__);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user