summaryrefslogtreecommitdiff
path: root/glibconfig.h.win32.in
Commit message (Collapse)AuthorAgeFilesLines
* Adding new defines first appeared in 2.22 into glibconfig.h.win32.inFridrich Strba2010-03-051-0/+8
|
* Add byteswap macros for gsize/gssize.Ryan Lortie2009-11-301-0/+4
|
* Improve descriptive comment textTor Lillqvist2009-11-031-2/+6
|
* Updated msvc build filesHans Breuer2009-05-301-0/+5
|
* Make glibconfig.h.win32.in match the generated one.Tor Lillqvist2009-05-121-0/+5
| | | | Add G_GOFFSET_MODIFIER, G_GOFFSET_FORMAT and G_GOFFSET_CONSTANT.
* Add network address and socket typesDan Winship2009-04-221-0/+3
| | | | | | | | | | | Types and methods for dealing with IPv4 and IPv6 addresses (and UNIX domain socket addresses under UNIX). This does not include code for actual socket I/O. Originally from "gnio". Much of the code was written by Christian Kellner, Samuel Cormier-Iijima, and Ryan Lortie. Part of #548466.
* Improve comment.Tor Lillqvist2008-08-081-6/+6
| | | | svn path=/trunk/; revision=7320
* Improve comment.Tor Lillqvist2008-08-081-5/+6
| | | | svn path=/trunk/; revision=7319
* Output comment clarifying GPid semantics to glibconfig.h.Tor Lillqvist2008-08-071-0/+6
| | | | | | | | | | | | 2008-08-07 Tor Lillqvist <tml@novell.com> * configure.in: Output comment clarifying GPid semantics to glibconfig.h. * glibconfig.h.win32.in: Ditto here. svn path=/trunk/; revision=7317
* Make the union _GSystemThread::data array 8 bytes on Win64. Not that itTor Lillqvist2008-08-041-0/+4
| | | | | | | | | | | | 2008-08-04 Tor Lillqvist <tml@novell.com> * glibconfig.h.win32.in: Make the union _GSystemThread::data array 8 bytes on Win64. Not that it matters as the union contains a pointer also anyway, but for equivalence with the configure- generated glibconfig.h svn path=/trunk/; revision=7309
* Add 64-bit versions of GPOINTER_TO_INT(), GPOINTER_TO_UINT() and viceTor Lillqvist2008-08-021-1/+10
| | | | | | | | | | 2008-08-02 Tor Lillqvist <tml@novell.com> * glibconfig.h.win32.in: Add 64-bit versions of GPOINTER_TO_INT(), GPOINTER_TO_UINT() and vice versa, too. svn path=/trunk/; revision=7288
* Add gintptr and guintptr typedefs here, too, appropriately ifdeffed forTor Lillqvist2008-08-021-0/+13
| | | | | | | | | | 2008-08-02 Tor Lillqvist <tml@novell.com> * glibconfig.h.win32.in: Add gintptr and guintptr typedefs here, too, appropriately ifdeffed for 32/64 bit, gcc/MSVC. svn path=/trunk/; revision=7287
* Check also _WIN64.Tor Lillqvist2008-07-231-1/+1
| | | | | | | | | 2008-07-24 Tor Lillqvist <tml@novell.com> * glibconfig.h.win32.in: Check also _WIN64. svn path=/trunk/; revision=7247
* Patch for 64-bit Windows from Richard Hult.Tor Lillqvist2008-07-231-0/+20
| | | | | | | | | | 2008-07-24 Tor Lillqvist <tml@novell.com> * glibconfig.h.win32.in: Patch for 64-bit Windows from Richard Hult. svn path=/trunk/; revision=7245
* Define GLIB_STATIC_COMPILATION here also, if needed.Tor Lillqvist2008-04-031-0/+1
| | | | | | | | | | 2008-04-04 Tor Lillqvist <tml@novell.com> * glibconfig.h.win32.in: Define GLIB_STATIC_COMPILATION here also, if needed. svn path=/trunk/; revision=6822
* removed -GD to compile with msvc9 (vs2008) with less complainsHans Breuer2007-12-091-0/+5
| | | | | | | | | | | | | | | | | | | 2007-12-09 Hans Breuer <hans@breuer.org> * **/makefile.msc glib/makefile.msc.in : removed -GD to compile with msvc9 (vs2008) with less complains * glibconfig.h.win32.in : #define G_HAVE_ISO_VARARGS 1 for msv8 (vs2005) and above * glib/gfileutils.c : s/stricmp/_stricmp/ * msvc_recommended_pragmas.h : work around Microsoft's premature attempt to deprecate the C-Library * tests/makefile.msc.in : added checksum-test svn path=/trunk/; revision=6076
* Always define G_CAN_INLINE. Even MSVC6 is capable of inlining. (#483337,Tor Lillqvist2007-10-051-2/+0
| | | | | | | | | | 2007-10-04 Tor Lillqvist <tml@novell.com> * glibconfig.h.win32.in: Always define G_CAN_INLINE. Even MSVC6 is capable of inlining. (#483337, Steve Lhomme) svn path=/trunk/; revision=5780
* Update to match what configure produces.Tor Lillqvist2007-08-011-0/+7
| | | | | | | | | 2007-08-01 Tor Lillqvist <tml@novell.com> * glibconfig.h.win32.in: Update to match what configure produces. svn path=/trunk/; revision=5660
* config.h.win32.in glib/galloca.h glib/gbacktrace.h glib/gwin32.cTor Lillqvist2007-01-181-13/+4
| | | | | | | | | | | | | | | 2007-01-17 Tor Lillqvist <tml@novell.com> * config.h.win32.in * glib/galloca.h * glib/gbacktrace.h * glib/gwin32.c * glibconfig.h.win32.in * README.win32: More minor tweaks for Digital Mars compiler. (#346808, Serhat Sevki Dincer) svn path=/trunk/; revision=5294
* Add G_GUINT64_CONSTANT.Tor Lillqvist2006-03-071-0/+5
| | | | | | 2006-03-08 Tor Lillqvist <tml@novell.com> * glibconfig.h.win32.in: Add G_GUINT64_CONSTANT.
* Don't use autoconf variables for the resource object files on Win32 anyTor Lillqvist2005-07-081-4/+10
| | | | | | | | | | | | | | | | | | | | | 2005-07-09 Tor Lillqvist <tml@novell.com> * configure.in: Don't use autoconf variables for the resource object files on Win32 any longer. Instead handle that in the Makefile.am files. Check for windres. * glibconfig.h.win32.in: Minor tuning to match the configure-produced glibconfig.h closely. * */Makefile.am: Don't use the scripts in build/win32 to compile the .rc file into a resource object file. (This means we loose the build number increment magic, but I doubt it was that useful anyway.) Instead use windres directly. To pass the normal .o file produced by windres through libtool, which wants .lo files, pass it directly to the linker using a -Wl option. * */*.rc.in: Thus replace BUILDNUMBER with 0.
* Cosmetics: move the G_GNUC_INTERNAL define to the same place where it isTor Lillqvist2004-11-061-3/+2
| | | | | | | | 2004-11-06 Tor Lillqvist <tml@iki.fi> * glibconfig.h.win32.in: Cosmetics: move the G_GNUC_INTERNAL define to the same place where it is in a configure-generated glibconfig.h
* updated [and finally fixed my script to produce ready to go de-in(ed)Hans Breuer2004-10-291-1/+3
| | | | | | | | | | | | 2004-10-29 Hans Breuer <hans@breuer.org> * glibconfig.h */makefile.msc.in : updated [and finally fixed my script to produce ready to go de-in(ed) files, w/o autotools] * */*.rc.in : updated copyrights to 2004 * glib/gutils.c : some CSIDL_* defines lacking from older SDK; use the same fallback mecahnism as on *NIX where ever applicable
* Update to match a configure-generated glibconfig.h. Specifically: RemoveTor Lillqvist2004-03-031-12/+3
| | | | | | | | | | 2004-03-03 Tor Lillqvist <tml@iki.fi> * glibconfig.h.win32.in: Update to match a configure-generated glibconfig.h. Specifically: Remove G_{MIN,MAX,MAXU}INT64 definitions (now in gtypes.h). Remove g_once and g_static_mutex_get_mutex_impl_shortcut definitions (now in gthread.h).
* updated externals, including those from bug #135386Hans Breuer2004-02-281-3/+1
| | | | | | | | | | | | | | | | 2003-02-28 Hans Breuer <hans@breuer.org> * glib/glib.def : updated externals, including those from bug #135386 * glib/makefile.msc.in : build gatomic.c * glibconfig.h.win32.in : removed duplicate definition of G_MAXSIZE, typedef void* GPid instead of int * tests/child-test.c glib/gmain.c : applied patch from J. Ali Harlow <ali@juiblex.co.uk> to fix g_child_watch implementation on win32, bug #50296
* added g_hash_table_find and a bunch of g_queue_*Hans Breuer2004-02-251-0/+7
| | | | | | | | | | | | | | | | | | 2003-02-26 Hans Breuer <hans@breuer.org> * glib/glib.def : added g_hash_table_find and a bunch of g_queue_* * glib/gmain.c : make it compile on win32, child_wake_up_pipe replaced by semaphore like it is done for the other wake_up_pipe * config.h.win32.in : added HAVE_INT64_AND_I64 * glibconfig.h.win32.in : G_MAXSIZE .. G_M??INT64, and typedef for GPid * test/env-test.c : don't let the local log function collide in namespace with standard C
* Add G_MAXSIZE, define in terms of G_MAXUfoo.Manish Singh2004-01-121-4/+5
| | | | | | | | | | Sun Jan 11 16:13:20 2004 Manish Singh <yosh@gimp.org> * configure.in: Add G_MAXSIZE, define in terms of G_MAXUfoo. * tests/type-test.c: Add test for G_MAXSIZE. * glibconfig.h.win32.in: Cleanup, add some missing bits.
* get_filename_charset() needs to return false for filenames not encoded inHans Breuer2003-12-131-3/+3
| | | | | | | | | | | | | 2003-12-13 Hans Breuer <hans@breuer.org> * glib/gconvert.c : get_filename_charset() needs to return false for filenames not encoded in utf-8, which is always true on win32 * glibconfig.h.win32.in : (u)int64 modifier isn't the gcc 'll' but always the msvcrt one 'I64' * glib/glib.def : updated
* Force shared library (DLL) only on Windows. (I don't think that isTor Lillqvist2003-10-241-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-24 Tor Lillqvist <tml@iki.fi> * configure.in: Force shared library (DLL) only on Windows. (I don't think that is controversial?) Remove unnecessary AC_LIBTOOL_WIN32_DLL. Don't use -D_REENTRANT on Win32, it is not used by mingw or MSVC headers. * config.h.win32.in * glibconfig.h.win32.in: Match what configure produces. * glib/gconvert.c * glib/gutils.c: Mark a couple of functions and variables that aren't public as static. * glib/gnulib/g-gnulib.h: Undef HAVE_SNPRINTF before (re)defining it potentially differently, to silence compiler. * glib/glib.def: Add some missing entries. * tests/gobject/Makefile.am (LDADD): Reorder, put libgobject after libtestgobject. * tests/gobject/ifaceproperties.c (main): NULL-terminate arg list to g_object_set() and _get().
* Slight update to match what is currently produced by configure.Tor Lillqvist2002-12-151-3/+7
| | | | | | | 2002-12-15 Tor Lillqvist <tml@iki.fi> * config.h.win32.in: Slight update to match what is currently produced by configure.
* gssize and gsize as in a configure-produced glibconfig.h.Tor Lillqvist2002-05-171-2/+2
| | | | | | | 2002-05-17 Tor Lillqvist <tml@iki.fi> * glibconfig.h.win32.in: gssize and gsize as in a configure-produced glibconfig.h.
* Edits.Tor Lillqvist2002-02-241-0/+8
| | | | | | | | | | | | 2002-02-24 Tor Lillqvist <tml@iki.fi> * README.win32: Edits. * config.h.win32.in: Add (as undefined) HAVE_UNSETENV, _FILE_OFFSET_BITS and _LARGE_FILES, just for completeness. * glibconfig.h.win32.in: Add the gcc-2.95.x undef of G_HAVE_ISO_VARARGS.
* moved warning to error pragmas to their own file to not force 'goodHans Breuer2002-01-051-27/+0
| | | | | | | | | | | | 2002-01-05 Hans Breuer <hans@breuer.org> * glibconfig.h.win32.in msvc_recommended_pragmas.h (new file) : moved warning to error pragmas to their own file to not force 'good practice' programming in downstream libs and apps. Instead the new header will be used by -FImsvc_recommended_pragmas.h in gnome/cvs makefile.msc * */makefile.msc.in : use -FImsvc_recommended_pragmas.h
* Add (undefined) HAVE_C99_VSNPRINTF.Tor Lillqvist2001-12-221-0/+1
| | | | | | | | | | | | | | | | | | | | 2001-12-21 Tor Lillqvist <tml@iki.fi> * config.h.win32.in: Add (undefined) HAVE_C99_VSNPRINTF. * glibconfig.h.win32.in: Add definition of G_HAVE_GROWING_STACK. * tests/Makefile.am: Rename the progs_LDADD, thread_LDADD and module_LDADD Make macros to progs_ldadd, thread_ldadd and module_ldadd. Newer automakes reserve macros named *_LDADD for the use as LDADDs for targets it knows. * glib/giowin32.c: (struct _GIOWin32Watch): 'callback' wasn't used here, either. 2001-12-21 Tor Lillqvist <tml@iki.fi> * gobject.def: Add g_signal_get_invocation_hint.
* Add GLIB_SIZEOF_SIZE_T here, too.Tor Lillqvist2001-11-271-0/+1
| | | | | | 2001-11-28 Tor Lillqvist <tml@iki.fi> * glibconfig.h.win32.in: Add GLIB_SIZEOF_SIZE_T here, too.
* added -Zm400 to DEPCFLAGS to avoid : gunidecomp.h(5846) : fatal errorHans Breuer2001-11-231-0/+27
| | | | | | | | | | | | 2001-11-23 Hans Breuer <hans@breuer.org> * glib/makefile.msc.in : added -Zm400 to DEPCFLAGS to avoid : gunidecomp.h(5846) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit * glibconfig.h.win32.in : added recommended pragma list for msvc again. They are an invaluable help of letting the compiler catch bugs.
* Typo.Tor Lillqvist2001-10-221-1/+6
| | | | | | | | | 2001-10-23 Tor Lillqvist <tml@iki.fi> * config.h.win32.in: Typo. * glibconfig.h.win32.in: Minor update to correspond to what configure now generates.
* Retract my change earlier today. Don't preset autoconf variables in a tryTor Lillqvist2001-09-261-11/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-26 Tor Lillqvist <tml@iki.fi> * configure.in: Retract my change earlier today. Don't preset autoconf variables in a try to match both mingw and MSVC. Instead, he who packages a prebuilt GLib developer distribution for Win32 runs configure twice: once for mingw, once for MSVC, and then uses diff -D on the glibconfig.h files to generate a suitably ifdeffed glibconfig.h for distribution that suits both compilers. (Ditto for config.h, although that file wouldn't be distributed in a developer package, but in a source package for Win32 users who want to build GLib but can't use configure.) * glibconfig.h.win32.in * config.h.win32.in: Generated by using diff -D as described above. * tests/makefile.mingw.in (.c.exe): Correct name of gthread (import) library. gthread: 2001-09-26 Tor Lillqvist <tml@iki.fi> * makefile.mingw.in: Fix couple of typos. * gthread.def: Add g_thread_init_with_errorcheck_mutexes.
* Move the Win32 check closer to the start, after the BeOS checks. PresetTor Lillqvist2001-09-261-58/+36
| | | | | | | | | | | | | | | | 2001-09-26 Tor Lillqvist <tml@iki.fi> * configure.in: (Win32:) Move the Win32 check closer to the start, after the BeOS checks. Preset some autoconf variables so that configure won't find those few headers and functions that gcc (mingw) pretends to implement (even if the actual C library doesn't), but MSVC doesn't. This because I want the same config.h and glibconfig.h to be usable both from gcc and MSVC (as they use the same C library). Some other minor hackery for this purpose. * glibconfig.h.win32.in * config.h.win32.in: Use versions generated by configure (and hand-edited slightly).
* Update. Don't mention pthreads.Tor Lillqvist2001-09-041-2/+2
| | | | | | | | | | | | | | | | | | | 2001-09-04 Tor Lillqvist <tml@iki.fi> * README.win32: Update. Don't mention pthreads. * build-dll: Remove, moved to the build module. * glibconfig.h.win32.in: Don't mention pthreds here, either. * glib/gstrfuncs.c: Mark the correct variable for export from DLL. * glib/giowin32.c (g_io_win32_msg_create_watch): Owen forgot to rename the win32_watch_funcs variable here, too. * */makefile.mingw.in: Don't use version number in import library name. Use whole version number in DLL name. Use build-dll from the build module.
* Removed POSIX_*. Defined G_THREAD_SOURCE to "gthread-win32.c".Sebastian Wilhelmi2001-05-221-37/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Define G_PLATFORM_WIN32 here, too.Tor Lillqvist2001-03-101-0/+1
| | | | | | 2001-03-10 Tor Lillqvist <tml@iki.fi> * glibconfig.h.win32.in: Define G_PLATFORM_WIN32 here, too.
* giochannel.h giowin32.c Stylistic cleanups. Use G_STRLOC in g_warning()Tor Lillqvist2001-02-011-10/+7
| | | | | | | | | | | | | | | 2001-02-02 Tor Lillqvist <tml@iki.fi> * giochannel.h * giowin32.c * gmain.c: Stylistic cleanups. Use G_STRLOC in g_warning() calls. * glib.def: Add missing functions. 2001-01-31 Tor Lillqvist <tml@iki.fi> * glibconfig.h.win32.in: Corresponding change as below to GStaticMutex.
* Use the same GMutex structure as the configure-generated glibconfig.hTor Lillqvist2001-01-291-9/+12
| | | | | | | | | | 2001-01-29 Tor Lillqvist <tml@iki.fi> * glibconfig.h.win32.in: Use the same GMutex structure as the configure-generated glibconfig.h does. * gstrfuncs.c (g_strsignal): Declare strsignal() on Cygwin, too, says jbdoll@kepri.re.kr.
* Add GLIB_SIZEOF_VOID_P and GLIB_SIZEOF_LONG.Tor Lillqvist2000-12-291-0/+3
| | | | | | | | | | 2000-12-29 Tor Lillqvist <tml@iki.fi> * glibconfig.h.win32.in: Add GLIB_SIZEOF_VOID_P and GLIB_SIZEOF_LONG. * glib.def: Update. * {.,*}/makefile.{mingw,msc}.in: Add -DG_ENABLE_DEBUG.
* Use a MessageBox for fatal messages. Collect eror message into a buffer,Tor Lillqvist2000-12-251-2/+1
| | | | | | | | | | | | 2000-12-25 Tor Lillqvist <tml@iki.fi> * gmessages.c: (Win32) Use a MessageBox for fatal messages. Collect eror message into a buffer, and display that. * glib.def: Update. * glibconfig.h.win32.in: Update. Remove unused wchar and wctype macros, add G_MODULE_SUFFIX.
* Remove alloca stuff from here. galloca.h takes care of it, correctly.Tor Lillqvist2000-10-161-5/+0
| | | | | | | 2000-10-16 Tor Lillqvist <tml@iki.fi> * glibconfig.h.win32.in: Remove alloca stuff from here. galloca.h takes care of it, correctly.
* Adapted accordingly to header separation and GLIB_HAVE_ALLOCA_H renaming.Sebastian Wilhelmi2000-10-121-10/+8
| | | | | | | 2000-10-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * glibconfig.h.win32.in: Adapted accordingly to header separation and GLIB_HAVE_ALLOCA_H renaming.
* Return 0 on error, not NULL.Tor Lillqvist2000-07-261-0/+3
| | | | | | | | | | 2000-07-26 Tor Lillqvist <tml@iki.fi> * gstrfuncs.c (g_strlcpy, g_strlcat): Return 0 on error, not NULL. * glib.def: Add g_strlcpy, g_strlcat. * glibconfig.h.win32.in: Add gsize and gssize.
* Move Win32-only includes after inclusion of glib.h, so that G_OS_WIN32 isTor Lillqvist2000-03-221-2/+15
| | | | | | | | | 2000-03-22 Tor Lillqvist <tml@iki.fi> * gutils.c: Move Win32-only includes after inclusion of glib.h, so that G_OS_WIN32 is defined. * glibconfig.h.win32.in: Add GSystemThread.