NO

Author Topic: _MAX_PATH undefined  (Read 6457 times)

ivmai

  • Guest
_MAX_PATH undefined
« on: June 19, 2009, 01:18:07 PM »
_MAX_PATH should be defined in stdlib.h (as in VC++)

JohnF

  • Guest
Re: _MAX_PATH undefined
« Reply #1 on: June 19, 2009, 01:58:12 PM »
In all my MS headers it is defined in windef.h, same as in PellesC headers.

John

ivmai

  • Guest
Re: _MAX_PATH undefined
« Reply #2 on: June 19, 2009, 02:09:12 PM »
I can see only MAX_PATH in windef.h.

Info:
- MAX_PATH is typically defined on GNU systems (windef.h);
- _MAX_PATH is typically defined on Win32 systems (stdlib.h) including GNU.

JohnF

  • Guest
Re: _MAX_PATH undefined
« Reply #3 on: June 19, 2009, 02:16:36 PM »
OOPS! :)