aboutsummaryrefslogtreecommitdiff
path: root/dep/g3dlite/source/BinaryOutput.cpp
diff options
context:
space:
mode:
authorclick <click@gonnamakeyou.com>2013-02-27 22:31:25 +0100
committerclick <click@gonnamakeyou.com>2013-02-27 22:31:25 +0100
commit58ac8207eccbaf056cb1ae7a046bdef48a2483ad (patch)
tree1ec24e06578b37ff93f72f56583fcf428330ec3f /dep/g3dlite/source/BinaryOutput.cpp
parentd3ad8a4941124aae2b2ced6cc75c18ec8498664a (diff)
Core: Add support for compiling core in a cygwin-environment
- rename/readd/add G3D-patches - give a history on the changes (some G3D-changes didn't even HAVE a patch - boo!) DON'T MESS ABOUT WITH CHANGING DEP/* LIBRARIES AND NOT LEAVING A DIFF IN THE SOURCETRE, MKAY!?
Diffstat (limited to 'dep/g3dlite/source/BinaryOutput.cpp')
-rw-r--r--dep/g3dlite/source/BinaryOutput.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/dep/g3dlite/source/BinaryOutput.cpp b/dep/g3dlite/source/BinaryOutput.cpp
index 054211d906c..81fa9822206 100644
--- a/dep/g3dlite/source/BinaryOutput.cpp
+++ b/dep/g3dlite/source/BinaryOutput.cpp
@@ -22,6 +22,10 @@
# include <errno.h>
#endif
+#ifdef __CYGWIN__
+# include <errno.h>
+#endif
+
// Largest memory buffer that the system will use for writing to
// disk. After this (or if the system runs out of memory)
// chunks of the file will be dumped to disk.