mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
d6ed8e36e7
2001-05-22 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * config.h.win32.in: Removed POSIX_*. Defined G_THREAD_SOURCE to "gthread-win32.c". * glibconfig.h.win32.in: Define G_HAVE_ISO_VARARGS for gcc, don't know about MSC. Define G_THREADS_IMPL_WIN32 instead of G_THREADS_IMPL_POSIX and define the right static mutex macros and types. * build/win32/make.mingw (CXX): Removed PTHREAD defs. Added -O2 -Wall to compile flags. * gthread/gthread-impl.c (g_thread_init): Move the thread implementation initialization to before assigning GThreadFuncs, which now is just struct assigned and not memcpy'ed. Completed check for zero members of GThreadFuncs. * gthread/makefile.mingw: Don't link to pthread anymore. * gthread/gthread-win32.c: New file for native thread support for win32. Thanks to Hans Breuer <hans@breuer.org> to got me kickstarted. * gthread/Makefile.am: Also distribute gthread-win32.c.
152 lines
3.8 KiB
Plaintext
152 lines
3.8 KiB
Plaintext
/* config.h.win32. Handcrafted for Microsoft C */
|
|
|
|
/* Define to empty if the keyword does not work. */
|
|
/* #undef const */
|
|
|
|
/* Define if you don't have vprintf but do have _doprnt. */
|
|
/* #undef HAVE_DOPRNT */
|
|
|
|
/* Define if you have <unistd.h>. */
|
|
/* #undef HAVE_UNISTD_H */
|
|
|
|
/* Define if you have the vprintf function. */
|
|
#define HAVE_VPRINTF 1
|
|
|
|
/* Define if you have the ANSI C header files. */
|
|
#define STDC_HEADERS 1
|
|
|
|
/* Define if your processor stores words with the most significant
|
|
byte first (like Motorola and SPARC, unlike Intel and VAX). */
|
|
/* #undef WORDS_BIGENDIAN */
|
|
|
|
/* #undef ENABLE_MEM_CHECK */
|
|
/* #undef ENABLE_MEM_PROFILE */
|
|
|
|
#define G_COMPILED_WITH_DEBUGGING "minimum"
|
|
|
|
/* #undef HAVE_BROKEN_WCTYPE */
|
|
/* #undef HAVE_DOPRNT */
|
|
#define HAVE_FLOAT_H 1
|
|
#define HAVE_GETCWD 1
|
|
#define HAVE_LIMITS_H 1
|
|
/* #undef HAVE_LOCALTIME_R */
|
|
/* #undef HAVE_LONG_DOUBLE */
|
|
/* #undef HAVE_POLL */
|
|
/* #undef HAVE_PWD_H */
|
|
/* #undef HAVE_SYS_PARAM_H */
|
|
/* #undef HAVE_SYS_POLL_H */
|
|
/* #undef HAVE_SYS_SELECT_H */
|
|
/* #undef HAVE_SYS_TIME_H */
|
|
/* #undef HAVE_SYS_TIMES_H */
|
|
#define HAVE_STRERROR 1
|
|
/* #undef HAVE_STRSIGNAL */
|
|
/* #undef HAVE_UNISTD_H */
|
|
/* #undef HAVE_VSNPRINTF */
|
|
/* #undef HAVE_VALUES_H */
|
|
#define HAVE_VPRINTF 1
|
|
#define HAVE_WCHAR_H 1
|
|
#define HAVE_WCTYPE_H 1
|
|
|
|
/* #undef NO_FD_SET */
|
|
/* #undef NO_SYS_ERRLIST */
|
|
#define NO_SYS_SIGLIST 1
|
|
|
|
/* #undef G_VA_COPY */
|
|
/* #undef G_VA_COPY_AS_ARRAY */
|
|
#define G_HAVE___INLINE 1
|
|
|
|
#define GLIB_MAJOR_VERSION @GLIB_MAJOR_VERSION@
|
|
#define GLIB_MINOR_VERSION @GLIB_MINOR_VERSION@
|
|
#define GLIB_MICRO_VERSION @GLIB_MICRO_VERSION@
|
|
#define GLIB_INTERFACE_AGE @GLIB_INTERFACE_AGE@
|
|
#define GLIB_BINARY_AGE @GLIB_BINARY_AGE@
|
|
|
|
#define GLIB_SIZEOF_SYSTEM_THREAD 4
|
|
#define GLIB_SIZEOF_SIZE_T 4
|
|
#define GLIB_SIZEOF_PTRDIFF_T 4
|
|
#define GLIB_SIZEOF_INTMAX_T 4
|
|
|
|
#define G_THREAD_SOURCE "gthread-win32.c"
|
|
|
|
/* The number of bytes in a char. */
|
|
#define SIZEOF_CHAR 1
|
|
|
|
/* The number of bytes in a int. */
|
|
#define SIZEOF_INT 4
|
|
|
|
/* The number of bytes in a long. */
|
|
#define SIZEOF_LONG 4
|
|
|
|
/* The number of bytes in a long long. */
|
|
#define SIZEOF_LONG_LONG 8
|
|
|
|
/* The number of bytes in a short. */
|
|
#define SIZEOF_SHORT 2
|
|
|
|
/* The number of bytes in a void *. */
|
|
#define SIZEOF_VOID_P 4
|
|
|
|
/* Define if you have the atexit function. */
|
|
#define HAVE_ATEXIT 1
|
|
|
|
/* Define if you have the lstat function. */
|
|
/* #undef HAVE_LSTAT */
|
|
|
|
/* Define if you have the memmove function. */
|
|
#define HAVE_MEMMOVE 1
|
|
|
|
/* Define if you have the on_exit function. */
|
|
/* #undef HAVE_ON_EXIT */
|
|
|
|
/* Define if you have the stpcpy function. */
|
|
/* #undef HAVE_STPCPY */
|
|
|
|
/* Define if you have the strcasecmp function. */
|
|
/* #undef HAVE_STRCASECMP */
|
|
|
|
/* Define if you have the strerror function. */
|
|
#define HAVE_STRERROR 1
|
|
|
|
/* Define if you have the strsignal function. */
|
|
/* #undef HAVE_STRSIGNAL */
|
|
|
|
/* Define if you have the vsnprintf function. */
|
|
/* #undef HAVE_VSNPRINTF */
|
|
|
|
/* Define if you have the <float.h> header file. */
|
|
#define HAVE_FLOAT_H 1
|
|
|
|
/* Define if you have the <limits.h> header file. */
|
|
#define HAVE_LIMITS_H 1
|
|
|
|
/* Define if you have the <pwd.h> header file. */
|
|
/* #undef HAVE_PWD_H */
|
|
|
|
/* Define if you have the <sys/param.h> header file. */
|
|
/* #undef HAVE_SYS_PARAM_H */
|
|
|
|
/* Define if you have the <sys/select.h> header file. */
|
|
/* #undef HAVE_SYS_SELECT_H */
|
|
|
|
/* Define if you have the <sys/time.h> header file. */
|
|
/* #undef HAVE_SYS_TIME_H */
|
|
|
|
/* Define if you have the <sys/times.h> header file. */
|
|
/* #undef HAVE_SYS_TIMES_H */
|
|
|
|
/* Define if you have the <unistd.h> header file. */
|
|
/* #undef HAVE_UNISTD_H */
|
|
|
|
/* Define if you have the <values.h> header file. */
|
|
/* #undef HAVE_VALUES_H */
|
|
|
|
/* Define if you have the w library (-lw). */
|
|
/* #undef HAVE_LIBW */
|
|
|
|
#define USE_LIBICONV 1
|
|
|
|
#define ENABLE_NLS 1
|
|
|
|
/* Dunno if this will expand correctly: */
|
|
#define GETTEXT_PACKAGE "@GETTEXT_PACKAGE@"
|