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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user