November 10
https://bugzilla.gdcproject.org/show_bug.cgi?id=109

--- Comment #1 from Iain Buclaw <ibuclaw@gdcproject.org> ---
>From the source:

object.h
---
#define POSIX (__linux__ || __APPLE__ || __FreeBSD__ || __OpenBSD__ || __sun)

filename.c
---
#if _WIN32
            char sep = '\\';
#elif POSIX
            char sep = '/';
#endif
            if (path[strlen(path) - 1] != sep)
---

So cygwin is neither _WIN32 or POSIX.

http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system#WindowswithCygwinPOSIX


There is a debian patch that supports at hurd and kfreebsd.

https://anonscm.debian.org/viewvc/gcccvs/branches/sid/gcc-8/debian/patches/gdc-frontend-posix.diff?revision=9713&view=markup

Cygwin should be checked and added as well.

-- 
You are receiving this mail because:
You are watching all bug changes.