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

This commit is contained in:
Alexandre Julliard 2005-08-29 21:49:57 +00:00
parent 44b4c7459b
commit 68f177364d
5 changed files with 3 additions and 7 deletions

View File

@ -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__ */

View File

@ -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 )

View File

@ -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 )

View File

@ -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 )

View File

@ -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 */