* pseudo-reloc.cc: Drop including wchar.h.
(__report_error): Define module as WCHAR. * advapi.cc: Drop including wchar.h. * kernel32.cc: Ditto.
This commit is contained in:
		| @@ -1,3 +1,10 @@ | ||||
| 2012-07-12  Corinna Vinschen  <corinna@vinschen.de> | ||||
|  | ||||
| 	* pseudo-reloc.cc: Drop including wchar.h. | ||||
| 	(__report_error): Define module as WCHAR. | ||||
| 	* advapi.cc: Drop including wchar.h. | ||||
| 	* kernel32.cc: Ditto. | ||||
|  | ||||
| 2012-07-11  Corinna Vinschen  <corinna@vinschen.de> | ||||
|  | ||||
| 	* cygtls.cc (well_known_dlls): Add ole32.dll and wbemprox.dll. | ||||
|   | ||||
| @@ -12,7 +12,6 @@ details. */ | ||||
| #include <winioctl.h> | ||||
| #include "shared_info.h" | ||||
| #include "ntdll.h" | ||||
| #include <wchar.h> | ||||
|  | ||||
| #define DEFAULT_NTSTATUS_TO_BOOL_RETURN \ | ||||
|   if (!NT_SUCCESS (status)) \ | ||||
|   | ||||
| @@ -11,7 +11,6 @@ details. */ | ||||
| #include "winsup.h" | ||||
| #include "shared_info.h" | ||||
| #include "ntdll.h" | ||||
| #include <wchar.h> | ||||
|  | ||||
| /* Implement CreateEvent/OpenEvent so that named objects are always created in | ||||
|    Cygwin shared object namespace. */ | ||||
|   | ||||
| @@ -20,8 +20,6 @@ | ||||
| # define NO_COPY | ||||
| #else | ||||
| # include "winsup.h" | ||||
| # include <wchar.h> | ||||
| # include <ntdef.h> | ||||
| # include <sys/cygwin.h> | ||||
| /* custom status code: */ | ||||
| # define STATUS_ILLEGAL_DLL_PSEUDO_RELOCATION ((NTSTATUS) 0xe0000269) | ||||
| @@ -87,7 +85,7 @@ __report_error (const char *msg, ...) | ||||
|    * cygwin ptys. | ||||
|    */ | ||||
|   char buf[128]; | ||||
|   wchar_t module[MAX_PATH]; | ||||
|   WCHAR module[MAX_PATH]; | ||||
|   char * posix_module = NULL; | ||||
|   static const char UNKNOWN_MODULE[] = "<unknown module>: "; | ||||
|   static const char CYGWIN_FAILURE_MSG[] = "Cygwin runtime failure: "; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user