1998-11-05 00:07:23 +01:00
|
|
|
/* 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"
|
Merge in current Win32 version. Almost no Unix code touched.
* README.win32: More text.
* config.h.win32 glibconfig.h.win32: Update to match the
corresponding generated files on Unix.
* makefile.msc: Update with new source files, and gthread
library. Use the compiler flag -MD instead of using -D_DLL and
"/nodefaultlib:libc msvcrt.lib" in the link phase.
* glib.def: Include new functions, drop removed ones.
* glib.h: Add comments about main loop and polling on Win32. (In
general, it's only for the GIMP's use.) Add Win32 IO Channel
functions. Remove the obsoleted old IO Channel stuff (which was
in #if 0 already).
* giowin32.c: New file.
* gmain.c: Include config.h, conditionalize <sys/time.h>
inclusion. Add g_poll implementation for Win32 (only for the
GIMP's needs for now, it's hard or even impossible to be as clean
and generic as on Unix). Implement g_get_current_time on Win32. If
threads aren't supported, don't try to wake up main thread's
loop. On Win32, use a semaphore and not a pipe to wake up the main
loop.
* gmessages.c: On Win32, allocate a console window if the standard
output handle is invalid before writing to stdout, and reopen stdout
to that console window.
* giochannel.c: Conditionalize unistd.h inclusion. Some indentation
cleanup.
* gstrfuncs.c: Include <signal.h>.
* gutils.c: On Win32, also check the HOMEDRIVE and HOMEPATH
environment variables.
* gmodule-dl.c gmodule-dld.c: In
_g_module_build_path, don't add the "lib" prefix and
".so" or ".sl" suffix if already there.
* gmodule-win32.c: Likewise for the ".dll" suffix.
* gthread-posix.c: Conditionalize <sys/time.h> inclusion.
1999-01-17 00:46:42 +01:00
|
|
|
|
1998-11-05 00:07:23 +01:00
|
|
|
/* #undef HAVE_BROKEN_WCTYPE */
|
|
|
|
/* #undef HAVE_DOPRNT */
|
|
|
|
#define HAVE_FLOAT_H 1
|
|
|
|
#define HAVE_LIMITS_H 1
|
Merge in current Win32 version. Almost no Unix code touched.
* README.win32: More text.
* config.h.win32 glibconfig.h.win32: Update to match the
corresponding generated files on Unix.
* makefile.msc: Update with new source files, and gthread
library. Use the compiler flag -MD instead of using -D_DLL and
"/nodefaultlib:libc msvcrt.lib" in the link phase.
* glib.def: Include new functions, drop removed ones.
* glib.h: Add comments about main loop and polling on Win32. (In
general, it's only for the GIMP's use.) Add Win32 IO Channel
functions. Remove the obsoleted old IO Channel stuff (which was
in #if 0 already).
* giowin32.c: New file.
* gmain.c: Include config.h, conditionalize <sys/time.h>
inclusion. Add g_poll implementation for Win32 (only for the
GIMP's needs for now, it's hard or even impossible to be as clean
and generic as on Unix). Implement g_get_current_time on Win32. If
threads aren't supported, don't try to wake up main thread's
loop. On Win32, use a semaphore and not a pipe to wake up the main
loop.
* gmessages.c: On Win32, allocate a console window if the standard
output handle is invalid before writing to stdout, and reopen stdout
to that console window.
* giochannel.c: Conditionalize unistd.h inclusion. Some indentation
cleanup.
* gstrfuncs.c: Include <signal.h>.
* gutils.c: On Win32, also check the HOMEDRIVE and HOMEPATH
environment variables.
* gmodule-dl.c gmodule-dld.c: In
_g_module_build_path, don't add the "lib" prefix and
".so" or ".sl" suffix if already there.
* gmodule-win32.c: Likewise for the ".dll" suffix.
* gthread-posix.c: Conditionalize <sys/time.h> inclusion.
1999-01-17 00:46:42 +01:00
|
|
|
/* #undef HAVE_LOCALTIME_R */
|
1998-11-05 00:07:23 +01:00
|
|
|
/* #undef HAVE_LONG_DOUBLE */
|
Merge in current Win32 version. Almost no Unix code touched.
* README.win32: More text.
* config.h.win32 glibconfig.h.win32: Update to match the
corresponding generated files on Unix.
* makefile.msc: Update with new source files, and gthread
library. Use the compiler flag -MD instead of using -D_DLL and
"/nodefaultlib:libc msvcrt.lib" in the link phase.
* glib.def: Include new functions, drop removed ones.
* glib.h: Add comments about main loop and polling on Win32. (In
general, it's only for the GIMP's use.) Add Win32 IO Channel
functions. Remove the obsoleted old IO Channel stuff (which was
in #if 0 already).
* giowin32.c: New file.
* gmain.c: Include config.h, conditionalize <sys/time.h>
inclusion. Add g_poll implementation for Win32 (only for the
GIMP's needs for now, it's hard or even impossible to be as clean
and generic as on Unix). Implement g_get_current_time on Win32. If
threads aren't supported, don't try to wake up main thread's
loop. On Win32, use a semaphore and not a pipe to wake up the main
loop.
* gmessages.c: On Win32, allocate a console window if the standard
output handle is invalid before writing to stdout, and reopen stdout
to that console window.
* giochannel.c: Conditionalize unistd.h inclusion. Some indentation
cleanup.
* gstrfuncs.c: Include <signal.h>.
* gutils.c: On Win32, also check the HOMEDRIVE and HOMEPATH
environment variables.
* gmodule-dl.c gmodule-dld.c: In
_g_module_build_path, don't add the "lib" prefix and
".so" or ".sl" suffix if already there.
* gmodule-win32.c: Likewise for the ".dll" suffix.
* gthread-posix.c: Conditionalize <sys/time.h> inclusion.
1999-01-17 00:46:42 +01:00
|
|
|
/* #undef HAVE_POLL */
|
1998-11-05 00:07:23 +01:00
|
|
|
/* #undef HAVE_PWD_H */
|
|
|
|
/* #undef HAVE_SYS_PARAM_H */
|
Merge in current Win32 version. Almost no Unix code touched.
* README.win32: More text.
* config.h.win32 glibconfig.h.win32: Update to match the
corresponding generated files on Unix.
* makefile.msc: Update with new source files, and gthread
library. Use the compiler flag -MD instead of using -D_DLL and
"/nodefaultlib:libc msvcrt.lib" in the link phase.
* glib.def: Include new functions, drop removed ones.
* glib.h: Add comments about main loop and polling on Win32. (In
general, it's only for the GIMP's use.) Add Win32 IO Channel
functions. Remove the obsoleted old IO Channel stuff (which was
in #if 0 already).
* giowin32.c: New file.
* gmain.c: Include config.h, conditionalize <sys/time.h>
inclusion. Add g_poll implementation for Win32 (only for the
GIMP's needs for now, it's hard or even impossible to be as clean
and generic as on Unix). Implement g_get_current_time on Win32. If
threads aren't supported, don't try to wake up main thread's
loop. On Win32, use a semaphore and not a pipe to wake up the main
loop.
* gmessages.c: On Win32, allocate a console window if the standard
output handle is invalid before writing to stdout, and reopen stdout
to that console window.
* giochannel.c: Conditionalize unistd.h inclusion. Some indentation
cleanup.
* gstrfuncs.c: Include <signal.h>.
* gutils.c: On Win32, also check the HOMEDRIVE and HOMEPATH
environment variables.
* gmodule-dl.c gmodule-dld.c: In
_g_module_build_path, don't add the "lib" prefix and
".so" or ".sl" suffix if already there.
* gmodule-win32.c: Likewise for the ".dll" suffix.
* gthread-posix.c: Conditionalize <sys/time.h> inclusion.
1999-01-17 00:46:42 +01:00
|
|
|
/* #undef HAVE_SYS_POLL_H */
|
1998-11-05 00:07:23 +01:00
|
|
|
/* #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 1
|
|
|
|
#define GLIB_MINOR_VERSION 1
|
Merge in current Win32 version. Almost no Unix code touched.
* README.win32: More text.
* config.h.win32 glibconfig.h.win32: Update to match the
corresponding generated files on Unix.
* makefile.msc: Update with new source files, and gthread
library. Use the compiler flag -MD instead of using -D_DLL and
"/nodefaultlib:libc msvcrt.lib" in the link phase.
* glib.def: Include new functions, drop removed ones.
* glib.h: Add comments about main loop and polling on Win32. (In
general, it's only for the GIMP's use.) Add Win32 IO Channel
functions. Remove the obsoleted old IO Channel stuff (which was
in #if 0 already).
* giowin32.c: New file.
* gmain.c: Include config.h, conditionalize <sys/time.h>
inclusion. Add g_poll implementation for Win32 (only for the
GIMP's needs for now, it's hard or even impossible to be as clean
and generic as on Unix). Implement g_get_current_time on Win32. If
threads aren't supported, don't try to wake up main thread's
loop. On Win32, use a semaphore and not a pipe to wake up the main
loop.
* gmessages.c: On Win32, allocate a console window if the standard
output handle is invalid before writing to stdout, and reopen stdout
to that console window.
* giochannel.c: Conditionalize unistd.h inclusion. Some indentation
cleanup.
* gstrfuncs.c: Include <signal.h>.
* gutils.c: On Win32, also check the HOMEDRIVE and HOMEPATH
environment variables.
* gmodule-dl.c gmodule-dld.c: In
_g_module_build_path, don't add the "lib" prefix and
".so" or ".sl" suffix if already there.
* gmodule-win32.c: Likewise for the ".dll" suffix.
* gthread-posix.c: Conditionalize <sys/time.h> inclusion.
1999-01-17 00:46:42 +01:00
|
|
|
#define GLIB_MICRO_VERSION 12
|
1998-11-05 00:07:23 +01:00
|
|
|
#define GLIB_INTERFACE_AGE 0
|
|
|
|
#define GLIB_BINARY_AGE 0
|
|
|
|
|
Merge in current Win32 version. Almost no Unix code touched.
* README.win32: More text.
* config.h.win32 glibconfig.h.win32: Update to match the
corresponding generated files on Unix.
* makefile.msc: Update with new source files, and gthread
library. Use the compiler flag -MD instead of using -D_DLL and
"/nodefaultlib:libc msvcrt.lib" in the link phase.
* glib.def: Include new functions, drop removed ones.
* glib.h: Add comments about main loop and polling on Win32. (In
general, it's only for the GIMP's use.) Add Win32 IO Channel
functions. Remove the obsoleted old IO Channel stuff (which was
in #if 0 already).
* giowin32.c: New file.
* gmain.c: Include config.h, conditionalize <sys/time.h>
inclusion. Add g_poll implementation for Win32 (only for the
GIMP's needs for now, it's hard or even impossible to be as clean
and generic as on Unix). Implement g_get_current_time on Win32. If
threads aren't supported, don't try to wake up main thread's
loop. On Win32, use a semaphore and not a pipe to wake up the main
loop.
* gmessages.c: On Win32, allocate a console window if the standard
output handle is invalid before writing to stdout, and reopen stdout
to that console window.
* giochannel.c: Conditionalize unistd.h inclusion. Some indentation
cleanup.
* gstrfuncs.c: Include <signal.h>.
* gutils.c: On Win32, also check the HOMEDRIVE and HOMEPATH
environment variables.
* gmodule-dl.c gmodule-dld.c: In
_g_module_build_path, don't add the "lib" prefix and
".so" or ".sl" suffix if already there.
* gmodule-win32.c: Likewise for the ".dll" suffix.
* gthread-posix.c: Conditionalize <sys/time.h> inclusion.
1999-01-17 00:46:42 +01:00
|
|
|
#define G_THREAD_SOURCE "gthread-posix.c"
|
|
|
|
#define G_THREADS_IMPL_POSIX
|
|
|
|
|
1998-11-05 00:07:23 +01:00
|
|
|
/* 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 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 */
|
|
|
|
|