2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-11 23:52:20 +00:00

Fix compilation for GCC type compilers that take .c files to be ANSI-C only, not a hybrid C/C++. This immediately affects MinGW (gcc).

[SVN r20687]
This commit is contained in:
Rene Rivera
2003-11-05 23:37:40 +00:00
parent 61ccdc8eca
commit efa5dc99a7

View File

@@ -272,9 +272,9 @@ path_parent( PATHNAME *f )
#include <windows.h>
#include <tchar.h>
#ifndef INVALID_FILE_ATTRIBUTES
/* The definition of this in winnt.h is not ANSI-C compatible. */
#undef INVALID_FILE_ATTRIBUTES
#define INVALID_FILE_ATTRIBUTES ((DWORD)-1)
#endif
DWORD ShortPathToLongPath(LPCTSTR lpszShortPath,LPTSTR lpszLongPath,DWORD