Commit 68f17736 authored by Alexandre Julliard's avatar Alexandre Julliard

Avoid using common symbols, they are broken on Mac OS.

parent 44b4c745
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment