mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 23:46:15 +01:00
Add gintptr and guintptr typedefs here, too, appropriately ifdeffed for
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
This commit is contained in:
parent
302111f89a
commit
59137b9923
@ -1,3 +1,8 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
2008-08-01 Matthias Clasen <mclasen@redhat.com>
|
2008-08-01 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* NEWS: Updates
|
* NEWS: Updates
|
||||||
|
@ -109,6 +109,19 @@ typedef gint64 goffset;
|
|||||||
#define GINT_TO_POINTER(i) ((gpointer) (i))
|
#define GINT_TO_POINTER(i) ((gpointer) (i))
|
||||||
#define GUINT_TO_POINTER(u) ((gpointer) (u))
|
#define GUINT_TO_POINTER(u) ((gpointer) (u))
|
||||||
|
|
||||||
|
#ifndef _WIN64
|
||||||
|
typedef signed int gintptr;
|
||||||
|
typedef unsigned int guintptr;
|
||||||
|
#else
|
||||||
|
#ifndef _MSC_VER
|
||||||
|
typedef signed long long gintptr;
|
||||||
|
typedef unsigned long long guintptr;
|
||||||
|
#else
|
||||||
|
typedef signed __int64 gintptr;
|
||||||
|
typedef unsigned __int64 guintptr;
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef NeXT /* @#%@! NeXTStep */
|
#ifdef NeXT /* @#%@! NeXTStep */
|
||||||
# define g_ATEXIT(proc) (!atexit (proc))
|
# define g_ATEXIT(proc) (!atexit (proc))
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user