Correct localtime_r() emulation on Win32. Remove a couple of unnecessary
2004-03-08 Tor Lillqvist <tml@iki.fi> * tests/testfilechooser.c: Correct localtime_r() emulation on Win32. Remove a couple of unnecessary Win32-only includes.
This commit is contained in:
committed by
Tor Lillqvist
parent
4c24377fc0
commit
9d55608cd6
@@ -8,6 +8,9 @@
|
||||
|
||||
* gtk/gtk.def: Small update. Thanks to J. Ali Harlow. Re-sorted.
|
||||
|
||||
* tests/testfilechooser.c: Correct localtime_r() emulation on
|
||||
Win32. Remove a couple of unnecessary Win32-only includes.
|
||||
|
||||
Mon Mar 8 01:06:17 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/testentrycompletion.c: Test dynamic addition/removal.
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
|
||||
* gtk/gtk.def: Small update. Thanks to J. Ali Harlow. Re-sorted.
|
||||
|
||||
* tests/testfilechooser.c: Correct localtime_r() emulation on
|
||||
Win32. Remove a couple of unnecessary Win32-only includes.
|
||||
|
||||
Mon Mar 8 01:06:17 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/testentrycompletion.c: Test dynamic addition/removal.
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
|
||||
* gtk/gtk.def: Small update. Thanks to J. Ali Harlow. Re-sorted.
|
||||
|
||||
* tests/testfilechooser.c: Correct localtime_r() emulation on
|
||||
Win32. Remove a couple of unnecessary Win32-only includes.
|
||||
|
||||
Mon Mar 8 01:06:17 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/testentrycompletion.c: Test dynamic addition/removal.
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
|
||||
* gtk/gtk.def: Small update. Thanks to J. Ali Harlow. Re-sorted.
|
||||
|
||||
* tests/testfilechooser.c: Correct localtime_r() emulation on
|
||||
Win32. Remove a couple of unnecessary Win32-only includes.
|
||||
|
||||
Mon Mar 8 01:06:17 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/testentrycompletion.c: Test dynamic addition/removal.
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
|
||||
* gtk/gtk.def: Small update. Thanks to J. Ali Harlow. Re-sorted.
|
||||
|
||||
* tests/testfilechooser.c: Correct localtime_r() emulation on
|
||||
Win32. Remove a couple of unnecessary Win32-only includes.
|
||||
|
||||
Mon Mar 8 01:06:17 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/testentrycompletion.c: Test dynamic addition/removal.
|
||||
|
||||
@@ -11,14 +11,11 @@
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
# define WIN32_MEAN_AND_LEAN
|
||||
# include <windows.h> /* ExtractAssociatedIcon */
|
||||
# include <io.h>
|
||||
# define localtime_r(t,b) localtime(t)
|
||||
# define localtime_r(t,b) *(b) = *localtime (t)
|
||||
# ifndef S_ISREG
|
||||
# define S_ISREG(m) ((m) & _S_IFREG)
|
||||
# endif
|
||||
# include <gdk/win32/gdkwin32.h> /* gdk_win32_hdc_get */
|
||||
#endif
|
||||
|
||||
#include "prop-editor.h"
|
||||
|
||||
Reference in New Issue
Block a user