fix(util/realpath): realpath on cygwin
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
5755ce4bfc
commit
b9fadeb86e
1 changed files with 7 additions and 0 deletions
|
@ -4,6 +4,13 @@ Released under Apache 2.0 license as described in the file LICENSE.
|
||||||
|
|
||||||
Author: Leonardo de Moura
|
Author: Leonardo de Moura
|
||||||
*/
|
*/
|
||||||
|
#if defined(LEAN_CYGWIN)
|
||||||
|
#if defined(__STRICT_ANSI__)
|
||||||
|
// hack for using realpath on cygwin
|
||||||
|
#undef __STRICT_ANSI__
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include "util/realpath.h"
|
#include "util/realpath.h"
|
||||||
|
|
Loading…
Reference in a new issue