guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/5] [mingw]: Do not export opendir, readdir etc., as dirents


From: Andy Wingo
Subject: Re: [PATCH 3/5] [mingw]: Do not export opendir, readdir etc., as dirents differ.
Date: Sun, 01 May 2011 13:37:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Hi Jan,

On Tue 15 Feb 2011 16:35, Jan Nieuwenhuizen <address@hidden> writes:

> From: Jan Nieuwenhuizen <address@hidden>
>
> Without this patch, libguile exports symbols such as opendir, readdir,
> which expect and use guile's struct dirent that differs from mingw's
> dirent.  Linking to libguile when using mingw's dirent gives unexpected
> results.
>
> 2011-02-15  Jan Nieuwenhuizen  <address@hidden>
>
>       * libguile/win32-dirent.c:
>       * libguile/filesys.c [MINGW32]: Include win32-dirent.h early,
>       to pick-up defines.
>
>       * libguile/win32-dirent.h (opendir, readdir, closedir, rewinddir,
>       seekdir, telldir, dirfd): #define to guile_opendir ect.

If mingw defines variants of these routines, why are we not using them
directly?

Sorry for being obtuse :)  I would like to get Guile working easily on
Windows, and if I can do so by removing code from Guile, that would be
great :-)

Cheers,

Andy
-- 
http://wingolog.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]