Avoid using common symbols, they are broken on Mac OS.
This commit is contained in:
parent
44b4c7459b
commit
68f177364d
|
@ -29,4 +29,6 @@ extern void _init(int argc, char **argv, char **envp );
|
|||
extern void _fini(void);
|
||||
#endif
|
||||
|
||||
extern int __wine_spec_init_state;
|
||||
|
||||
#endif /* __WINE_CRT0_PRIVATE_H__ */
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
#include "wine/library.h"
|
||||
#include "crt0_private.h"
|
||||
|
||||
int __wine_spec_init_state;
|
||||
|
||||
extern BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved );
|
||||
|
||||
BOOL WINAPI __wine_spec_dll_entry( HINSTANCE inst, DWORD reason, LPVOID reserved )
|
||||
|
|
|
@ -25,8 +25,6 @@
|
|||
#include "wine/library.h"
|
||||
#include "crt0_private.h"
|
||||
|
||||
int __wine_spec_init_state;
|
||||
|
||||
extern int main( int argc, char *argv[] );
|
||||
|
||||
DWORD WINAPI __wine_spec_exe_entry( PEB *peb )
|
||||
|
|
|
@ -25,8 +25,6 @@
|
|||
#include "wine/library.h"
|
||||
#include "crt0_private.h"
|
||||
|
||||
int __wine_spec_init_state;
|
||||
|
||||
extern int wmain( int argc, WCHAR *argv[] );
|
||||
|
||||
DWORD WINAPI __wine_spec_exe_wentry( PEB *peb )
|
||||
|
|
|
@ -489,7 +489,7 @@ void BuildSpec32File( FILE *outfile, DLLSPEC *spec )
|
|||
|
||||
/* Output the entry point function */
|
||||
|
||||
fprintf( outfile, "int __wine_spec_init_state;\n" );
|
||||
fprintf( outfile, "int __wine_spec_init_state = 0;\n" );
|
||||
fprintf( outfile, "extern void %s();\n\n", spec->init_func );
|
||||
|
||||
/* Output the NT header */
|
||||
|
|
Loading…
Reference in New Issue