> +# endif
> +#endif
> +
> +#ifdef HAVE_DIRECT_H
> +# include <direct.h>  /* to _getcwd */
> +#endif
> +#ifdef HAVE_DIR_H
> +# include <dir.h>  /* to declare findfirst() and findnext() */
> +#endif
> +#ifdef HAVE_IO_H
> +# include <io.h>  /* to declare open() */
> +#endif
> +#include "debug.h"
> +#include "routines.h"
> +#ifdef HAVE_ICONV
> +# include "mbcs.h"

> I don't know how realistic it is that HAVE_ICONV will be present but we can 
> add something like [...]

No need to do `#ifdef` first, it's perfectly legal to `#undef` a macro that 
isn't defined (C99 6.10.3.5).

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1160/files/d440a81166e62d41e2b06d555b471db5fdd8d80d..ea72ecc00fc22f24eced3ffce7c7db67d5f02271#r73969660

Reply via email to