mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-30 08:50:23 +02:00
(fcntl.h): Can include this unconditionally, no need for __MINGW32__.
This commit is contained in:
parent
1701d8ed3f
commit
423b201902
1 changed files with 1 additions and 4 deletions
|
@ -27,6 +27,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h> /* for chsize on mingw */
|
||||
|
||||
#include "libguile/_scm.h"
|
||||
#include "libguile/async.h"
|
||||
|
@ -67,10 +68,6 @@
|
|||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
|
||||
#ifdef __MINGW32__
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
/* Mingw (version 3.4.5, circa 2006) has ftruncate as an alias for chsize
|
||||
already, but have this code here in case that wasn't so in past versions,
|
||||
or perhaps to help other minimal DOS environments.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue