Unbreak Windows-hosted cross debugger builds.

* windows-nat.c (windows_get_absolute_argv0): Move from here...
	* mingw-hdep.c (windows_get_absolute_argv0): ...to here.
	Include main.h.

	* windows-nat.h (windows_get_absolute_argv0): Move prototype from
	here...
	* main.h (windows_get_absolute_argv0): ...to here.
This commit is contained in:
Eli Zaretskii
2013-04-06 06:52:06 +00:00
parent 198f1157c9
commit d9ac066415
6 changed files with 30 additions and 19 deletions

View File

@@ -45,9 +45,6 @@
#include "maint.h"
#include "filenames.h"
#ifdef __MINGW32__
# include "windows-nat.h"
#endif
/* The selected interpreter. This will be used as a set command
variable, so it should always be malloc'ed - since