Define the new GLIB_SIZEOF_* constants here, too.

1999-10-12  Tor Lillqvist  <tml@iki.fi>

* config.h.win32.in: Define the new GLIB_SIZEOF_* constants here,
too.

* glib.h: Small Win32 comments improvement.
This commit is contained in:
Tor Lillqvist 1999-10-12 20:46:13 +00:00 committed by Tor Lillqvist
parent 30a1e1addb
commit 52ad8a9c2a
11 changed files with 73 additions and 3 deletions

View File

@ -1,3 +1,10 @@
1999-10-12 Tor Lillqvist <tml@iki.fi>
* config.h.win32.in: Define the new GLIB_SIZEOF_* constants here,
too.
* glib.h: Small Win32 comments improvement.
Tue Oct 12 12:16:12 1999 Tim Janik <timj@gtk.org> Tue Oct 12 12:16:12 1999 Tim Janik <timj@gtk.org>
* gmessages.c (g_printf_string_upper_bound): completly new implementation * gmessages.c (g_printf_string_upper_bound): completly new implementation

View File

@ -1,3 +1,10 @@
1999-10-12 Tor Lillqvist <tml@iki.fi>
* config.h.win32.in: Define the new GLIB_SIZEOF_* constants here,
too.
* glib.h: Small Win32 comments improvement.
Tue Oct 12 12:16:12 1999 Tim Janik <timj@gtk.org> Tue Oct 12 12:16:12 1999 Tim Janik <timj@gtk.org>
* gmessages.c (g_printf_string_upper_bound): completly new implementation * gmessages.c (g_printf_string_upper_bound): completly new implementation

View File

@ -1,3 +1,10 @@
1999-10-12 Tor Lillqvist <tml@iki.fi>
* config.h.win32.in: Define the new GLIB_SIZEOF_* constants here,
too.
* glib.h: Small Win32 comments improvement.
Tue Oct 12 12:16:12 1999 Tim Janik <timj@gtk.org> Tue Oct 12 12:16:12 1999 Tim Janik <timj@gtk.org>
* gmessages.c (g_printf_string_upper_bound): completly new implementation * gmessages.c (g_printf_string_upper_bound): completly new implementation

View File

@ -1,3 +1,10 @@
1999-10-12 Tor Lillqvist <tml@iki.fi>
* config.h.win32.in: Define the new GLIB_SIZEOF_* constants here,
too.
* glib.h: Small Win32 comments improvement.
Tue Oct 12 12:16:12 1999 Tim Janik <timj@gtk.org> Tue Oct 12 12:16:12 1999 Tim Janik <timj@gtk.org>
* gmessages.c (g_printf_string_upper_bound): completly new implementation * gmessages.c (g_printf_string_upper_bound): completly new implementation

View File

@ -1,3 +1,10 @@
1999-10-12 Tor Lillqvist <tml@iki.fi>
* config.h.win32.in: Define the new GLIB_SIZEOF_* constants here,
too.
* glib.h: Small Win32 comments improvement.
Tue Oct 12 12:16:12 1999 Tim Janik <timj@gtk.org> Tue Oct 12 12:16:12 1999 Tim Janik <timj@gtk.org>
* gmessages.c (g_printf_string_upper_bound): completly new implementation * gmessages.c (g_printf_string_upper_bound): completly new implementation

View File

@ -1,3 +1,10 @@
1999-10-12 Tor Lillqvist <tml@iki.fi>
* config.h.win32.in: Define the new GLIB_SIZEOF_* constants here,
too.
* glib.h: Small Win32 comments improvement.
Tue Oct 12 12:16:12 1999 Tim Janik <timj@gtk.org> Tue Oct 12 12:16:12 1999 Tim Janik <timj@gtk.org>
* gmessages.c (g_printf_string_upper_bound): completly new implementation * gmessages.c (g_printf_string_upper_bound): completly new implementation

View File

@ -1,3 +1,10 @@
1999-10-12 Tor Lillqvist <tml@iki.fi>
* config.h.win32.in: Define the new GLIB_SIZEOF_* constants here,
too.
* glib.h: Small Win32 comments improvement.
Tue Oct 12 12:16:12 1999 Tim Janik <timj@gtk.org> Tue Oct 12 12:16:12 1999 Tim Janik <timj@gtk.org>
* gmessages.c (g_printf_string_upper_bound): completly new implementation * gmessages.c (g_printf_string_upper_bound): completly new implementation

View File

@ -1,3 +1,10 @@
1999-10-12 Tor Lillqvist <tml@iki.fi>
* config.h.win32.in: Define the new GLIB_SIZEOF_* constants here,
too.
* glib.h: Small Win32 comments improvement.
Tue Oct 12 12:16:12 1999 Tim Janik <timj@gtk.org> Tue Oct 12 12:16:12 1999 Tim Janik <timj@gtk.org>
* gmessages.c (g_printf_string_upper_bound): completly new implementation * gmessages.c (g_printf_string_upper_bound): completly new implementation

View File

@ -61,6 +61,10 @@
#define GLIB_BINARY_AGE @GLIB_BINARY_AGE@ #define GLIB_BINARY_AGE @GLIB_BINARY_AGE@
#define GLIB_SIZEOF_PTHREAD_T 4 #define GLIB_SIZEOF_PTHREAD_T 4
#define GLIB_SIZEOF_SIZE_T 4
#define GLIB_SIZEOF_PTRDIFF_T 4
#define GLIB_SIZEOF_INTMAX_T 4
#define POSIX_MIN_PRIORITY -2 #define POSIX_MIN_PRIORITY -2
#define POSIX_MAX_PRIORITY 2 #define POSIX_MAX_PRIORITY 2
#define POSIX_YIELD_FUNC Sleep(0) #define POSIX_YIELD_FUNC Sleep(0)
@ -98,7 +102,7 @@
/* #undef HAVE_ON_EXIT */ /* #undef HAVE_ON_EXIT */
/* Define if you have the strcasecmp function. */ /* Define if you have the strcasecmp function. */
/* #undef HAVE_STRCASECMP ^*/ /* #undef HAVE_STRCASECMP */
/* Define if you have the strerror function. */ /* Define if you have the strerror function. */
#define HAVE_STRERROR 1 #define HAVE_STRERROR 1

7
glib.h
View File

@ -2836,7 +2836,8 @@ typedef int pid_t;
* unlink: <stdio.h> or <io.h> * unlink: <stdio.h> or <io.h>
* open, read, write, lseek, close: <io.h> * open, read, write, lseek, close: <io.h>
* rmdir: <direct.h> * rmdir: <direct.h>
* pipe: <direct.h> */ * pipe: <direct.h>
*/
/* pipe is not in OLDNAMES.LIB or -lmoldname-msvc. */ /* pipe is not in OLDNAMES.LIB or -lmoldname-msvc. */
#define pipe(phandles) _pipe (phandles, 4096, _O_BINARY) #define pipe(phandles) _pipe (phandles, 4096, _O_BINARY)
@ -2845,6 +2846,10 @@ typedef int pid_t;
* we provide emulators in glib, which are prefixed with gwin_. * we provide emulators in glib, which are prefixed with gwin_.
*/ */
# define ftruncate(fd, size) gwin_ftruncate (fd, size) # define ftruncate(fd, size) gwin_ftruncate (fd, size)
/* -lmingw32 also has emulations for these, but we need our own
* for MSVC anyhow, so we might aswell use them always.
*/
# define opendir gwin_opendir # define opendir gwin_opendir
# define readdir gwin_readdir # define readdir gwin_readdir
# define rewinddir gwin_rewinddir # define rewinddir gwin_rewinddir

View File

@ -2836,7 +2836,8 @@ typedef int pid_t;
* unlink: <stdio.h> or <io.h> * unlink: <stdio.h> or <io.h>
* open, read, write, lseek, close: <io.h> * open, read, write, lseek, close: <io.h>
* rmdir: <direct.h> * rmdir: <direct.h>
* pipe: <direct.h> */ * pipe: <direct.h>
*/
/* pipe is not in OLDNAMES.LIB or -lmoldname-msvc. */ /* pipe is not in OLDNAMES.LIB or -lmoldname-msvc. */
#define pipe(phandles) _pipe (phandles, 4096, _O_BINARY) #define pipe(phandles) _pipe (phandles, 4096, _O_BINARY)
@ -2845,6 +2846,10 @@ typedef int pid_t;
* we provide emulators in glib, which are prefixed with gwin_. * we provide emulators in glib, which are prefixed with gwin_.
*/ */
# define ftruncate(fd, size) gwin_ftruncate (fd, size) # define ftruncate(fd, size) gwin_ftruncate (fd, size)
/* -lmingw32 also has emulations for these, but we need our own
* for MSVC anyhow, so we might aswell use them always.
*/
# define opendir gwin_opendir # define opendir gwin_opendir
# define readdir gwin_readdir # define readdir gwin_readdir
# define rewinddir gwin_rewinddir # define rewinddir gwin_rewinddir