mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-21 14:49:16 +02:00
Added missing values for G_MAXU(SHORT|INT|LONG) on platforms with only
1999-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * configure.in: Added missing values for G_MAXU(SHORT|INT|LONG) on platforms with only /usr/include/values.h. * acconfig.h: Removed unnecessary macros. * glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2 branch. * configure.in: Also accept _Pctime_r instead of ctime_r, while seraching for the right `_REENTRANT' flag. This is for Digital UNIX 4.0d. Taken from glib 1.2 branch.
This commit is contained in:
parent
181f079319
commit
771d712085
15
ChangeLog
15
ChangeLog
@ -1,3 +1,18 @@
|
|||||||
|
1999-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* configure.in: Added missing values for G_MAXU(SHORT|INT|LONG) on
|
||||||
|
platforms with only /usr/include/values.h.
|
||||||
|
|
||||||
|
* acconfig.h: Removed unnecessary macros.
|
||||||
|
|
||||||
|
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
|
||||||
|
from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
|
||||||
|
branch.
|
||||||
|
|
||||||
|
* configure.in: Also accept _Pctime_r instead of ctime_r, while
|
||||||
|
seraching for the right `_REENTRANT' flag. This is for Digital
|
||||||
|
UNIX 4.0d. Taken from glib 1.2 branch.
|
||||||
|
|
||||||
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
|
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib.h: added GLIB_CHECK_VERSION() macro similar to
|
* glib.h: added GLIB_CHECK_VERSION() macro similar to
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
|
1999-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* configure.in: Added missing values for G_MAXU(SHORT|INT|LONG) on
|
||||||
|
platforms with only /usr/include/values.h.
|
||||||
|
|
||||||
|
* acconfig.h: Removed unnecessary macros.
|
||||||
|
|
||||||
|
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
|
||||||
|
from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
|
||||||
|
branch.
|
||||||
|
|
||||||
|
* configure.in: Also accept _Pctime_r instead of ctime_r, while
|
||||||
|
seraching for the right `_REENTRANT' flag. This is for Digital
|
||||||
|
UNIX 4.0d. Taken from glib 1.2 branch.
|
||||||
|
|
||||||
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
|
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib.h: added GLIB_CHECK_VERSION() macro similar to
|
* glib.h: added GLIB_CHECK_VERSION() macro similar to
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
|
1999-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* configure.in: Added missing values for G_MAXU(SHORT|INT|LONG) on
|
||||||
|
platforms with only /usr/include/values.h.
|
||||||
|
|
||||||
|
* acconfig.h: Removed unnecessary macros.
|
||||||
|
|
||||||
|
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
|
||||||
|
from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
|
||||||
|
branch.
|
||||||
|
|
||||||
|
* configure.in: Also accept _Pctime_r instead of ctime_r, while
|
||||||
|
seraching for the right `_REENTRANT' flag. This is for Digital
|
||||||
|
UNIX 4.0d. Taken from glib 1.2 branch.
|
||||||
|
|
||||||
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
|
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib.h: added GLIB_CHECK_VERSION() macro similar to
|
* glib.h: added GLIB_CHECK_VERSION() macro similar to
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
|
1999-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* configure.in: Added missing values for G_MAXU(SHORT|INT|LONG) on
|
||||||
|
platforms with only /usr/include/values.h.
|
||||||
|
|
||||||
|
* acconfig.h: Removed unnecessary macros.
|
||||||
|
|
||||||
|
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
|
||||||
|
from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
|
||||||
|
branch.
|
||||||
|
|
||||||
|
* configure.in: Also accept _Pctime_r instead of ctime_r, while
|
||||||
|
seraching for the right `_REENTRANT' flag. This is for Digital
|
||||||
|
UNIX 4.0d. Taken from glib 1.2 branch.
|
||||||
|
|
||||||
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
|
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib.h: added GLIB_CHECK_VERSION() macro similar to
|
* glib.h: added GLIB_CHECK_VERSION() macro similar to
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
|
1999-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* configure.in: Added missing values for G_MAXU(SHORT|INT|LONG) on
|
||||||
|
platforms with only /usr/include/values.h.
|
||||||
|
|
||||||
|
* acconfig.h: Removed unnecessary macros.
|
||||||
|
|
||||||
|
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
|
||||||
|
from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
|
||||||
|
branch.
|
||||||
|
|
||||||
|
* configure.in: Also accept _Pctime_r instead of ctime_r, while
|
||||||
|
seraching for the right `_REENTRANT' flag. This is for Digital
|
||||||
|
UNIX 4.0d. Taken from glib 1.2 branch.
|
||||||
|
|
||||||
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
|
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib.h: added GLIB_CHECK_VERSION() macro similar to
|
* glib.h: added GLIB_CHECK_VERSION() macro similar to
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
|
1999-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* configure.in: Added missing values for G_MAXU(SHORT|INT|LONG) on
|
||||||
|
platforms with only /usr/include/values.h.
|
||||||
|
|
||||||
|
* acconfig.h: Removed unnecessary macros.
|
||||||
|
|
||||||
|
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
|
||||||
|
from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
|
||||||
|
branch.
|
||||||
|
|
||||||
|
* configure.in: Also accept _Pctime_r instead of ctime_r, while
|
||||||
|
seraching for the right `_REENTRANT' flag. This is for Digital
|
||||||
|
UNIX 4.0d. Taken from glib 1.2 branch.
|
||||||
|
|
||||||
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
|
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib.h: added GLIB_CHECK_VERSION() macro similar to
|
* glib.h: added GLIB_CHECK_VERSION() macro similar to
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
|
1999-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* configure.in: Added missing values for G_MAXU(SHORT|INT|LONG) on
|
||||||
|
platforms with only /usr/include/values.h.
|
||||||
|
|
||||||
|
* acconfig.h: Removed unnecessary macros.
|
||||||
|
|
||||||
|
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
|
||||||
|
from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
|
||||||
|
branch.
|
||||||
|
|
||||||
|
* configure.in: Also accept _Pctime_r instead of ctime_r, while
|
||||||
|
seraching for the right `_REENTRANT' flag. This is for Digital
|
||||||
|
UNIX 4.0d. Taken from glib 1.2 branch.
|
||||||
|
|
||||||
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
|
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib.h: added GLIB_CHECK_VERSION() macro similar to
|
* glib.h: added GLIB_CHECK_VERSION() macro similar to
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
|
1999-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* configure.in: Added missing values for G_MAXU(SHORT|INT|LONG) on
|
||||||
|
platforms with only /usr/include/values.h.
|
||||||
|
|
||||||
|
* acconfig.h: Removed unnecessary macros.
|
||||||
|
|
||||||
|
* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
|
||||||
|
from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
|
||||||
|
branch.
|
||||||
|
|
||||||
|
* configure.in: Also accept _Pctime_r instead of ctime_r, while
|
||||||
|
seraching for the right `_REENTRANT' flag. This is for Digital
|
||||||
|
UNIX 4.0d. Taken from glib 1.2 branch.
|
||||||
|
|
||||||
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
|
Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* glib.h: added GLIB_CHECK_VERSION() macro similar to
|
* glib.h: added GLIB_CHECK_VERSION() macro similar to
|
||||||
|
@ -53,9 +53,6 @@
|
|||||||
#undef HAVE_LIMITS_H
|
#undef HAVE_LIMITS_H
|
||||||
#undef HAVE_LONG_DOUBLE
|
#undef HAVE_LONG_DOUBLE
|
||||||
#undef HAVE_POLL
|
#undef HAVE_POLL
|
||||||
#undef HAVE_PTHREAD_COND_TIMEDWAIT_POSIX
|
|
||||||
#undef HAVE_PTHREAD_GETSPECIFIC_POSIX
|
|
||||||
#undef HAVE_PTHREAD_MUTEX_TRYLOCK_POSIX
|
|
||||||
#undef HAVE_PWD_H
|
#undef HAVE_PWD_H
|
||||||
#undef HAVE_SYS_PARAM_H
|
#undef HAVE_SYS_PARAM_H
|
||||||
#undef HAVE_SYS_POLL_H
|
#undef HAVE_SYS_POLL_H
|
||||||
|
@ -61,8 +61,6 @@
|
|||||||
#define GLIB_BINARY_AGE 0
|
#define GLIB_BINARY_AGE 0
|
||||||
|
|
||||||
#define G_THREAD_SOURCE "gthread-posix.c"
|
#define G_THREAD_SOURCE "gthread-posix.c"
|
||||||
#define G_THREADS_IMPL_POSIX
|
|
||||||
#define HAVE_PTHREAD_GETSPECIFIC_POSIX 1
|
|
||||||
|
|
||||||
/* The number of bytes in a char. */
|
/* The number of bytes in a char. */
|
||||||
#define SIZEOF_CHAR 1
|
#define SIZEOF_CHAR 1
|
||||||
|
@ -710,7 +710,8 @@ if test x"$enable_threads" = xyes; then
|
|||||||
# not using the proper multithread flag
|
# not using the proper multithread flag
|
||||||
old_CPPFLAGS=$CPPFLAGS
|
old_CPPFLAGS=$CPPFLAGS
|
||||||
CPPFLAGS="$CPPFLAGS $G_THREAD_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $G_THREAD_CFLAGS"
|
||||||
AC_EGREP_HEADER([[^a-zA-Z_]ctime_r[^a-zA-Z_]], time.h, ,
|
# Note: Digital UNIX 4.0d #defines ctime_r to _Pctime_r for gcc.
|
||||||
|
AC_EGREP_HEADER([[^a-zA-Z_](_P)?ctime_r[^a-zA-Z_]], time.h, ,
|
||||||
G_THREAD_CFLAGS=
|
G_THREAD_CFLAGS=
|
||||||
AC_MSG_WARN($FLAG_DOES_NOT_WORK))
|
AC_MSG_WARN($FLAG_DOES_NOT_WORK))
|
||||||
CPPFLAGS=$old_CPPFLAGS
|
CPPFLAGS=$old_CPPFLAGS
|
||||||
@ -1065,9 +1066,9 @@ x$ac_cv_header_limits_h)
|
|||||||
;;
|
;;
|
||||||
x$ac_cv_header_values_h)
|
x$ac_cv_header_values_h)
|
||||||
glib_values_h=yes
|
glib_values_h=yes
|
||||||
glib_ms=MINSHORT glib_Ms=MAXSHORT glib_Mus=unknown # Please insert the right
|
glib_ms=MINSHORT glib_Ms=MAXSHORT glib_Mus="(((gushort)G_MAXSHORT)*2+1)"
|
||||||
glib_mi=MININT glib_Mi=MAXINT glib_Mui=unknown # values from
|
glib_mi=MININT glib_Mi=MAXINT glib_Mui="(((guint)G_MAXINT)*2+1)"
|
||||||
glib_ml=MINLONG glib_Ml=MAXLONG glib_Mul=unknown # /usr/include/values.h
|
glib_ml=MINLONG glib_Ml=MAXLONG glib_Mul="(((gulong)G_MAXLONG)*2+1)"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -104,6 +104,7 @@ typedef unsigned __int64 guint64;
|
|||||||
* }
|
* }
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define G_THREADS_IMPL_POSIX
|
||||||
typedef struct _GStaticMutex GStaticMutex;
|
typedef struct _GStaticMutex GStaticMutex;
|
||||||
struct _GStaticMutex
|
struct _GStaticMutex
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user