I'm interested in compiling windows to support Python25, but when I
make -f Make_ming.mak gvim.exe
I get the following ( _MAX_PATH undeclared):
gcc -c -Iproto -DWIN32 -DWINVER = 0x0400 -D_WIN32_WINNT = 0x0400 -DHAVE_PATHDEF -DFEAT_BIG -DHAVE_GETTEXT -DHAVE_LOCALE_H -DDYNAMIC_GETTEXT -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_GUI_W32 -DFEAT_CLIPBOARD -DFEAT_MBYTE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DDYNAMIC_ICONV -pipe -w -march = i386 - Wall -DFEAT_PYTHON -I c: / Python25 / include -DDYNAMIC_PYTHON -DYNAMIC_PYTHON_DLL = \ "python25.dll \" -O3 -fomit-frame-pointer -freg-struct-return -s fileio.c -o gobj / fileio.o
fileio.c: In function `buf_modname ':
fileio.c: 5877: error: _MAX_PATH 'undeclared (first use in this function)
fileio.c: 5877: error: (Each undeclared identifier is reported only once
fileio.c: 5877: error: for each function it appears in.)
fileio.c: In function `vim_tempname ':
fileio.c: 6832: error: `_MAX_PATH 'undeclared (first use in this function)
make: *** [gobj / fileio.o] Error 1
Any ideas? What am I missing?
Thanks.
source
share