#ifdef OPT_BUILTIN_W32_SHORTNAME_EXT #include "jam.h" #include "w32_shortname.h" #include "newstr.h" #define WIN32_LEAN_AND_MEAN #include <windows.h> const char* w32_shortname(char* path) { const char *retval = path; if (path) { DWORD retlen; DWORD length; char *temp; temp = strdup(path); length = strlen(temp); retlen = GetShortPathName(temp, temp, length); if (retlen != 0 && retlen != length) retval = newstr(temp); free(temp); } return retval; } #endif
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 2817 | Matt Armstrong | Update with current known working version. | ||
#1 | 1271 | Matt Armstrong |
This is "my" custom version of Jam. See the LOCAL_DIFFERENCES.txt file for a description of differences from the upstream jam. |