Remove unnecessary MSVC-only typedef for pid_t. GLib does not pretend to

2005-02-02  Tor Lillqvist  <tml@novell.com>

	* glib/gwin32.h: Remove unnecessary MSVC-only typedef for
	pid_t. GLib does not pretend to be a POSIX emulation library.
This commit is contained in:
Tor Lillqvist 2005-02-02 23:52:31 +00:00 committed by Tor Lillqvist
parent 031ebdd193
commit 67221dc03b
5 changed files with 12 additions and 4 deletions

View File

@ -1,5 +1,8 @@
2005-02-02 Tor Lillqvist <tml@novell.com> 2005-02-02 Tor Lillqvist <tml@novell.com>
* glib/gwin32.h: Remove unnecessary MSVC-only typedef for
pid_t. GLib does not pretend to be a POSIX emulation library.
* glib/gstdio.c: In the Win32 part of all functions, handle * glib/gstdio.c: In the Win32 part of all functions, handle
invalid UTF-8 more robustly. Don't pass the resulting NULL invalid UTF-8 more robustly. Don't pass the resulting NULL
wide-char or codepage strings on to C library functions, but bail wide-char or codepage strings on to C library functions, but bail

View File

@ -1,5 +1,8 @@
2005-02-02 Tor Lillqvist <tml@novell.com> 2005-02-02 Tor Lillqvist <tml@novell.com>
* glib/gwin32.h: Remove unnecessary MSVC-only typedef for
pid_t. GLib does not pretend to be a POSIX emulation library.
* glib/gstdio.c: In the Win32 part of all functions, handle * glib/gstdio.c: In the Win32 part of all functions, handle
invalid UTF-8 more robustly. Don't pass the resulting NULL invalid UTF-8 more robustly. Don't pass the resulting NULL
wide-char or codepage strings on to C library functions, but bail wide-char or codepage strings on to C library functions, but bail

View File

@ -1,5 +1,8 @@
2005-02-02 Tor Lillqvist <tml@novell.com> 2005-02-02 Tor Lillqvist <tml@novell.com>
* glib/gwin32.h: Remove unnecessary MSVC-only typedef for
pid_t. GLib does not pretend to be a POSIX emulation library.
* glib/gstdio.c: In the Win32 part of all functions, handle * glib/gstdio.c: In the Win32 part of all functions, handle
invalid UTF-8 more robustly. Don't pass the resulting NULL invalid UTF-8 more robustly. Don't pass the resulting NULL
wide-char or codepage strings on to C library functions, but bail wide-char or codepage strings on to C library functions, but bail

View File

@ -1,5 +1,8 @@
2005-02-02 Tor Lillqvist <tml@novell.com> 2005-02-02 Tor Lillqvist <tml@novell.com>
* glib/gwin32.h: Remove unnecessary MSVC-only typedef for
pid_t. GLib does not pretend to be a POSIX emulation library.
* glib/gstdio.c: In the Win32 part of all functions, handle * glib/gstdio.c: In the Win32 part of all functions, handle
invalid UTF-8 more robustly. Don't pass the resulting NULL invalid UTF-8 more robustly. Don't pass the resulting NULL
wide-char or codepage strings on to C library functions, but bail wide-char or codepage strings on to C library functions, but bail

View File

@ -40,10 +40,6 @@ G_BEGIN_DECLS
#define MAXPATHLEN 1024 #define MAXPATHLEN 1024
#endif #endif
#ifdef _MSC_VER
typedef int pid_t;
#endif
#ifdef G_OS_WIN32 #ifdef G_OS_WIN32
/* /*