]> Pileus Git - ~andy/gtk/commitdiff
Use MAX_PATH (from windef.h) insted of _MAX_PATH (from stdlib.h in mingw
authorTor Lillqvist <tml@iki.fi>
Mon, 26 Aug 2002 20:00:36 +0000 (20:00 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Mon, 26 Aug 2002 20:00:36 +0000 (20:00 +0000)
2002-08-26  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Use MAX_PATH
(from windef.h) insted of _MAX_PATH (from stdlib.h in mingw and
MSVC, but not there in Cygwin) (#91681, Masahiro Sakai).

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/win32/gdkwindow-win32.c

index 74f4cff1e351afbe5db511ecfa8ea7964e7ebb43..2893b28d2a3b842eb4f7786899e7eb718911c665 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-26  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Use MAX_PATH
+       (from windef.h) insted of _MAX_PATH (from stdlib.h in mingw and
+       MSVC, but not there in Cygwin) (#91681, Masahiro Sakai).
+
 Mon Aug 26 12:21:16 BST 2002  Tony Gale <gale@gtk.org>
 
        * docs/tutorial/package-db-tutorial.sh: cleanups
index 74f4cff1e351afbe5db511ecfa8ea7964e7ebb43..2893b28d2a3b842eb4f7786899e7eb718911c665 100644 (file)
@@ -1,3 +1,9 @@
+2002-08-26  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Use MAX_PATH
+       (from windef.h) insted of _MAX_PATH (from stdlib.h in mingw and
+       MSVC, but not there in Cygwin) (#91681, Masahiro Sakai).
+
 Mon Aug 26 12:21:16 BST 2002  Tony Gale <gale@gtk.org>
 
        * docs/tutorial/package-db-tutorial.sh: cleanups
index 74f4cff1e351afbe5db511ecfa8ea7964e7ebb43..2893b28d2a3b842eb4f7786899e7eb718911c665 100644 (file)
@@ -1,3 +1,9 @@
+2002-08-26  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Use MAX_PATH
+       (from windef.h) insted of _MAX_PATH (from stdlib.h in mingw and
+       MSVC, but not there in Cygwin) (#91681, Masahiro Sakai).
+
 Mon Aug 26 12:21:16 BST 2002  Tony Gale <gale@gtk.org>
 
        * docs/tutorial/package-db-tutorial.sh: cleanups
index 74f4cff1e351afbe5db511ecfa8ea7964e7ebb43..2893b28d2a3b842eb4f7786899e7eb718911c665 100644 (file)
@@ -1,3 +1,9 @@
+2002-08-26  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Use MAX_PATH
+       (from windef.h) insted of _MAX_PATH (from stdlib.h in mingw and
+       MSVC, but not there in Cygwin) (#91681, Masahiro Sakai).
+
 Mon Aug 26 12:21:16 BST 2002  Tony Gale <gale@gtk.org>
 
        * docs/tutorial/package-db-tutorial.sh: cleanups
index 74f4cff1e351afbe5db511ecfa8ea7964e7ebb43..2893b28d2a3b842eb4f7786899e7eb718911c665 100644 (file)
@@ -1,3 +1,9 @@
+2002-08-26  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Use MAX_PATH
+       (from windef.h) insted of _MAX_PATH (from stdlib.h in mingw and
+       MSVC, but not there in Cygwin) (#91681, Masahiro Sakai).
+
 Mon Aug 26 12:21:16 BST 2002  Tony Gale <gale@gtk.org>
 
        * docs/tutorial/package-db-tutorial.sh: cleanups
index 74f4cff1e351afbe5db511ecfa8ea7964e7ebb43..2893b28d2a3b842eb4f7786899e7eb718911c665 100644 (file)
@@ -1,3 +1,9 @@
+2002-08-26  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Use MAX_PATH
+       (from windef.h) insted of _MAX_PATH (from stdlib.h in mingw and
+       MSVC, but not there in Cygwin) (#91681, Masahiro Sakai).
+
 Mon Aug 26 12:21:16 BST 2002  Tony Gale <gale@gtk.org>
 
        * docs/tutorial/package-db-tutorial.sh: cleanups
index 2de211ac6d9c756fa70939973328f03dcac7d523..ad1a5caca1fe0566409a08963a49841e8c4a04a1 100644 (file)
@@ -310,14 +310,14 @@ RegisterGdkClass (GdkWindowType wtype)
   /* initialize once! */
   if (0 == hAppIcon)
     {
-      gchar sLoc [_MAX_PATH+1];
+      gchar sLoc [MAX_PATH+1];
 
-      if (0 != GetModuleFileName (gdk_app_hmodule, sLoc, _MAX_PATH))
+      if (0 != GetModuleFileName (gdk_app_hmodule, sLoc, MAX_PATH))
        {
          hAppIcon = ExtractIcon (gdk_app_hmodule, sLoc, 0);
          if (0 == hAppIcon)
            {
-             if (0 != GetModuleFileName (gdk_dll_hinstance, sLoc, _MAX_PATH))
+             if (0 != GetModuleFileName (gdk_dll_hinstance, sLoc, MAX_PATH))
                hAppIcon = ExtractIcon (gdk_dll_hinstance, sLoc, 0);
            }
        }