#define __UNKNOWN_APP 0
#define __CONSOLE_APP 1
#define __GUI_APP 2
-__MINGW_IMPORT void __set_app_type(int);
+#ifndef _M_PPC
+__MINGW_IMPORT
+#endif
+void __set_app_type(int);
#endif /* __MSVCRT__ */
/* Global _fmode for this .exe, not the one in msvcrt.dll,
_mingw32_init_fmode ();
/* Adust references to dllimported data that have non-zero offsets. */
+#if defined(__i386__)
_pei386_runtime_relocator ();
+#endif
#if defined(__i386__)
/* Align the stack to 16 bytes for the sake of SSE ops in main
# endif
# define __DECLSPEC_SUPPORTED
# else /* __declspec */
-# undef __DECLSPEC_SUPPORTED
-# undef __MINGW_IMPORT
-# ifndef _CRTIMP
+# ifndef __PowerPC__
+# undef __DECLSPEC_SUPPORTED
+# undef __MINGW_IMPORT
+# ifndef _CRTIMP
+# define _CRTIMP
+# endif
+# else /* __PowerPC__ */
+# define __declspec(x)
# define _CRTIMP
-# endif
+# endif /* __PowerPC__ */
# endif /* __declspec */
# ifndef __cdecl
# define __cdecl __attribute__ ((__cdecl__))
<file>isascii.c</file>
<file>iscsym.c</file>
<file>iscsymf.c</file>
- <file>pseudo-reloc.c</file>
<file>strcasecmp.c</file>
<file>strncasecmp.c</file>
<file>toascii.c</file>
<file>wcscmpi.c</file>
<file>_wgetopt.c</file>
+ <if property="ARCH" value="i386">
+ <file>pseudo-reloc.c</file>
+ </if>
</module>
<module name="mingw_main" type="staticlibrary" isstartuplib="true" allowwarnings="true">
<include base="ReactOS">include/crt</include>
_mingw32_init_fmode ();
/* Adust references to dllimported data that have non-zero offsets. */
+#if defined(__i386__)
_pei386_runtime_relocator ();
+#endif
#if defined(__i386__)
/* Align the stack to 16 bytes for the sake of SSE ops in main