mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-19 23:28:54 +02:00
make it compile with mvc6 default sdk, (#define INVALID_FILE_ATTRIBUTES,
2005-01-09 Hans Breuer <hans@breuer.org> * glib/gfileutils.c : make it compile with mvc6 default sdk, (#define INVALID_FILE_ATTRIBUTES, FILE_ATTRIBUTE_DEVICE)
This commit is contained in:
@@ -1,7 +1,11 @@
|
|||||||
|
2005-01-09 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
|
* glib/gfileutils.c : make it compile with mvc6 default sdk,
|
||||||
|
(#define INVALID_FILE_ATTRIBUTES, FILE_ATTRIBUTE_DEVICE)
|
||||||
|
|
||||||
2005-01-09 Tor Lillqvist <tlillqvist@novell.com>
|
2005-01-09 Tor Lillqvist <tlillqvist@novell.com>
|
||||||
|
|
||||||
* glib/gwin32.c (g_win32_error_message): Fix cast. (#163133, Roger
|
* glib/gwin32.c (g_win32_error_message): Fix cast. (#163133, Roger Leigh)
|
||||||
Leigh)
|
|
||||||
|
|
||||||
* glib/gfileutils.c: Include <io.h> on Windows for
|
* glib/gfileutils.c: Include <io.h> on Windows for
|
||||||
prototypes. (#163390, Kazuki Iwamoto)
|
prototypes. (#163390, Kazuki Iwamoto)
|
||||||
|
@@ -1,7 +1,11 @@
|
|||||||
|
2005-01-09 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
|
* glib/gfileutils.c : make it compile with mvc6 default sdk,
|
||||||
|
(#define INVALID_FILE_ATTRIBUTES, FILE_ATTRIBUTE_DEVICE)
|
||||||
|
|
||||||
2005-01-09 Tor Lillqvist <tlillqvist@novell.com>
|
2005-01-09 Tor Lillqvist <tlillqvist@novell.com>
|
||||||
|
|
||||||
* glib/gwin32.c (g_win32_error_message): Fix cast. (#163133, Roger
|
* glib/gwin32.c (g_win32_error_message): Fix cast. (#163133, Roger Leigh)
|
||||||
Leigh)
|
|
||||||
|
|
||||||
* glib/gfileutils.c: Include <io.h> on Windows for
|
* glib/gfileutils.c: Include <io.h> on Windows for
|
||||||
prototypes. (#163390, Kazuki Iwamoto)
|
prototypes. (#163390, Kazuki Iwamoto)
|
||||||
|
@@ -1,7 +1,11 @@
|
|||||||
|
2005-01-09 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
|
* glib/gfileutils.c : make it compile with mvc6 default sdk,
|
||||||
|
(#define INVALID_FILE_ATTRIBUTES, FILE_ATTRIBUTE_DEVICE)
|
||||||
|
|
||||||
2005-01-09 Tor Lillqvist <tlillqvist@novell.com>
|
2005-01-09 Tor Lillqvist <tlillqvist@novell.com>
|
||||||
|
|
||||||
* glib/gwin32.c (g_win32_error_message): Fix cast. (#163133, Roger
|
* glib/gwin32.c (g_win32_error_message): Fix cast. (#163133, Roger Leigh)
|
||||||
Leigh)
|
|
||||||
|
|
||||||
* glib/gfileutils.c: Include <io.h> on Windows for
|
* glib/gfileutils.c: Include <io.h> on Windows for
|
||||||
prototypes. (#163390, Kazuki Iwamoto)
|
prototypes. (#163390, Kazuki Iwamoto)
|
||||||
|
@@ -1,7 +1,11 @@
|
|||||||
|
2005-01-09 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
|
* glib/gfileutils.c : make it compile with mvc6 default sdk,
|
||||||
|
(#define INVALID_FILE_ATTRIBUTES, FILE_ATTRIBUTE_DEVICE)
|
||||||
|
|
||||||
2005-01-09 Tor Lillqvist <tlillqvist@novell.com>
|
2005-01-09 Tor Lillqvist <tlillqvist@novell.com>
|
||||||
|
|
||||||
* glib/gwin32.c (g_win32_error_message): Fix cast. (#163133, Roger
|
* glib/gwin32.c (g_win32_error_message): Fix cast. (#163133, Roger Leigh)
|
||||||
Leigh)
|
|
||||||
|
|
||||||
* glib/gfileutils.c: Include <io.h> on Windows for
|
* glib/gfileutils.c: Include <io.h> on Windows for
|
||||||
prototypes. (#163390, Kazuki Iwamoto)
|
prototypes. (#163390, Kazuki Iwamoto)
|
||||||
|
@@ -1,7 +1,11 @@
|
|||||||
|
2005-01-09 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
|
* glib/gfileutils.c : make it compile with mvc6 default sdk,
|
||||||
|
(#define INVALID_FILE_ATTRIBUTES, FILE_ATTRIBUTE_DEVICE)
|
||||||
|
|
||||||
2005-01-09 Tor Lillqvist <tlillqvist@novell.com>
|
2005-01-09 Tor Lillqvist <tlillqvist@novell.com>
|
||||||
|
|
||||||
* glib/gwin32.c (g_win32_error_message): Fix cast. (#163133, Roger
|
* glib/gwin32.c (g_win32_error_message): Fix cast. (#163133, Roger Leigh)
|
||||||
Leigh)
|
|
||||||
|
|
||||||
* glib/gfileutils.c: Include <io.h> on Windows for
|
* glib/gfileutils.c: Include <io.h> on Windows for
|
||||||
prototypes. (#163390, Kazuki Iwamoto)
|
prototypes. (#163390, Kazuki Iwamoto)
|
||||||
|
@@ -107,6 +107,13 @@ g_file_test (const gchar *filename,
|
|||||||
GFileTest test)
|
GFileTest test)
|
||||||
{
|
{
|
||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
|
/* stuff missing in std vc6 api */
|
||||||
|
# ifndef INVALID_FILE_ATTRIBUTES
|
||||||
|
# define INVALID_FILE_ATTRIBUTES -1
|
||||||
|
# endif
|
||||||
|
# ifndef FILE_ATTRIBUTE_DEVICE
|
||||||
|
# define FILE_ATTRIBUTE_DEVICE 64
|
||||||
|
# endif
|
||||||
int attributes;
|
int attributes;
|
||||||
|
|
||||||
if (G_WIN32_HAVE_WIDECHAR_API ())
|
if (G_WIN32_HAVE_WIDECHAR_API ())
|
||||||
|
Reference in New Issue
Block a user