After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 91681 - _MAX_PATH vs MAX_PATH
_MAX_PATH vs MAX_PATH
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Win32
2.0.x
Other Windows
: Normal normal
: ---
Assigned To: Tor Lillqvist
Tor Lillqvist
Depends on:
Blocks:
 
 
Reported: 2002-08-26 09:52 UTC by Masahiro Sakai
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Masahiro Sakai 2002-08-26 09:52:25 UTC
gdk/win32/gdkwindow-win32.c uses _MAX_PATH.
But Cygwin doesn't have _MAX_PATH.

How about using MAX_PATH instead?
it is defined in windef.h on Cygwin.
Comment 1 Tor Lillqvist 2002-08-26 20:08:53 UTC
_MAX_PATH is defined in stdlib.h in mingw and MSVC6. But you are 
right, better to use windef.h's MAX_PATH. Patch applied to HEAD and 
gtk-2-0.