5 Dec
2009
5 Dec
'09
10:32 p.m.
Le samedi 05 décembre 2009 à 22:11 +0100, Michel Juillard a écrit :
1) add -D_WIN32 in the build system for Windows/Cygwin
Actually definining _WIN32 is a bad practice for Cygwin, and for instance makes the compilation of dynare++ fail. The right solution is to replace: #ifdef _WIN32 by #if defined(_WIN32) || defined(__CYGWIN32__) and: #ifndef _WIN32 by #if !defined(_WIN32) && !defined(__CYGWIN32__) Best -- Sébastien Villemot