summaryrefslogtreecommitdiff
path: root/goo/gfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'goo/gfile.h')
-rw-r--r--goo/gfile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/goo/gfile.h b/goo/gfile.h
index 680f70dd..e6ab2d92 100644
--- a/goo/gfile.h
+++ b/goo/gfile.h
@@ -89,8 +89,12 @@ typedef long long Goffset;
// string, denoting the current directory). Returns <path>.
extern GooString *appendToPath(GooString *path, const char *fileName);
+#ifndef _WIN32
// Open a file descriptor
+// Could be implemented on WIN32 too, but the only external caller of
+// this function is not used on WIN32
extern int openFileDescriptor(const char *path, int flags);
+#endif
// Open a file. On Windows, this converts the path from UTF-8 to
// UCS-2 and calls _wfopen (if available). On other OSes, this simply