Commit 9d55608c authored by Tor Lillqvist's avatar Tor Lillqvist Committed by Tor Lillqvist

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.
parent 4c24377f
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment