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
|
2000-09-21 18:17:32 +02:00
|
|
|
#define HAVE_GETCWD 1
|
1998-11-05 00:07:23 +01:00
|
|
|
#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
|
|
|
|
|
1999-05-06 19:33:15 +02:00
|
|
|
#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@
|
1998-11-05 00:07:23 +01:00
|
|
|
|
Renamed GLIB_SIZEOF_PTHREAD_T to GLIB_SIZEOF_SYSTEM_THREAD to reflect
1999-11-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* acconfig.h, config.h.win32.in, configure.in: Renamed
GLIB_SIZEOF_PTHREAD_T to GLIB_SIZEOF_SYSTEM_THREAD to reflect
changed meaning.
* configure.in: Cope with systems, that have a pthread_t type,
that is not a pointer. Hint from Karl Nelson
<kenelson@ece.ucdavis.edu>. Define GLIB_SIZEOF_SYSTEM_THREAD to 4
for Solaris. Cope with systems, that have no default mutex
initialize, like obviously most DCE systems.
* glib.h, gthread.c: Changed the prototype of thread_create and
thread_self to return the system thread into provided memory
instead of a return value. This is necessary, as HPUX has a
pthread_t, that is bigger than the biggest integral type there.
* gthread.c: system_thread is no longer a pointer, but an memory
area of size GLIB_SIZEOF_SYSTEM_THREAD. Changed the
zeroinitialization and the tests for zeroness accordingly.
1999-11-16 11:30:25 +01:00
|
|
|
#define GLIB_SIZEOF_SYSTEM_THREAD 4
|
1999-10-12 22:46:13 +02:00
|
|
|
#define GLIB_SIZEOF_SIZE_T 4
|
|
|
|
#define GLIB_SIZEOF_PTRDIFF_T 4
|
|
|
|
#define GLIB_SIZEOF_INTMAX_T 4
|
|
|
|
|
1999-06-21 00:20:43 +02:00
|
|
|
#define POSIX_MIN_PRIORITY -2
|
|
|
|
#define POSIX_MAX_PRIORITY 2
|
|
|
|
#define POSIX_YIELD_FUNC Sleep(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"
|
|
|
|
|
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. */
|
1999-10-12 22:46:13 +02:00
|
|
|
/* #undef HAVE_STRCASECMP */
|
1998-11-05 00:07:23 +01:00
|
|
|
|
|
|
|
/* 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 */
|
|
|
|
|
2000-11-13 19:03:57 +01:00
|
|
|
#define USE_LIBICONV 1
|
2001-01-16 23:06:23 +01:00
|
|
|
|
|
|
|
#define ENABLE_NLS 1
|
|
|
|
|
|
|
|
/* Dunno if this will expand correctly: */
|
|
|
|
#define GETTEXT_PACKAGE "@GETTEXT_PACKAGE@"
|