aboutsummaryrefslogtreecommitdiff
path: root/libXpm
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-11-12 16:58:49 +0100
committermarha <marha@users.sourceforge.net>2013-11-12 16:58:49 +0100
commit6d8fefe38077f4d532c256e79cfcaf2a46c5269d (patch)
treedfc74a8d253b690dac620212cbb9d46001cdaa2b /libXpm
parent0e01270aeda311bf52c046f6a68e8b3e1fa86cb8 (diff)
downloadvcxsrv-6d8fefe38077f4d532c256e79cfcaf2a46c5269d.tar.gz
vcxsrv-6d8fefe38077f4d532c256e79cfcaf2a46c5269d.tar.bz2
vcxsrv-6d8fefe38077f4d532c256e79cfcaf2a46c5269d.zip
Now use visual studio 2013 express edition for compilation
Diffstat (limited to 'libXpm')
-rw-r--r--libXpm/src/RdFToBuf.c2
-rw-r--r--libXpm/src/RdFToI.c2
-rw-r--r--libXpm/src/WrFFrI.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/libXpm/src/RdFToBuf.c b/libXpm/src/RdFToBuf.c
index 485e666c7..0594972a6 100644
--- a/libXpm/src/RdFToBuf.c
+++ b/libXpm/src/RdFToBuf.c
@@ -83,7 +83,7 @@ XpmReadFileToBuffer(
close(fd);
return XpmOpenFailed;
}
- fp = fdopen(fd, "r");
+ fp = _fdopen(fd, "r");
if (!fp) {
close(fd);
return XpmOpenFailed;
diff --git a/libXpm/src/RdFToI.c b/libXpm/src/RdFToI.c
index eff843dce..49fb2ed61 100644
--- a/libXpm/src/RdFToI.c
+++ b/libXpm/src/RdFToI.c
@@ -247,7 +247,7 @@ OpenReadFile(
#endif /* z-files */
{
mdata->type = XPMFILE;
- mdata->stream.file = fdopen(fd, "r");
+ mdata->stream.file = _fdopen(fd, "r");
}
if (!mdata->stream.file)
{
diff --git a/libXpm/src/WrFFrI.c b/libXpm/src/WrFFrI.c
index 067c96b3a..e05ff9855 100644
--- a/libXpm/src/WrFFrI.c
+++ b/libXpm/src/WrFFrI.c
@@ -344,7 +344,7 @@ OpenWriteFile(
} else
#endif
{
- mdata->stream.file = fdopen(fd, "w");
+ mdata->stream.file = _fdopen(fd, "w");
mdata->type = XPMFILE;
}
if (!mdata->stream.file) {