aboutsummaryrefslogtreecommitdiff
path: root/src/file.h
diff options
context:
space:
mode:
authorDavid <david@xagasoft.com>2007-06-19 06:05:55 +0000
committerDavid <david@xagasoft.com>2007-06-19 06:05:55 +0000
commit2b0fa89df615cb4789668014475ae64d99e773b5 (patch)
tree818d58faaf0e91530888284d75e6700d9097b1c7 /src/file.h
parent8a7fed8386c152023ddae611fe274b966287370a (diff)
downloadlibbu++-2b0fa89df615cb4789668014475ae64d99e773b5.tar.gz
libbu++-2b0fa89df615cb4789668014475ae64d99e773b5.tar.bz2
libbu++-2b0fa89df615cb4789668014475ae64d99e773b5.tar.xz
libbu++-2b0fa89df615cb4789668014475ae64d99e773b5.zip
david - got some things compiling on win32 (wine/devc++)
Diffstat (limited to '')
-rw-r--r--src/file.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/file.h b/src/file.h
index 1a4421b..0f638a7 100644
--- a/src/file.h
+++ b/src/file.h
@@ -47,6 +47,7 @@ namespace Bu
47 *@param sFlags (const char *) Standard file flags 'rb'... etc.. 47 *@param sFlags (const char *) Standard file flags 'rb'... etc..
48 *@returns (Bu::File) A file object representing your temp file. 48 *@returns (Bu::File) A file object representing your temp file.
49 */ 49 */
50#ifndef WIN32
50 inline static Bu::File tempFile( Bu::FString &sName, const char *sFlags ) 51 inline static Bu::File tempFile( Bu::FString &sName, const char *sFlags )
51 { 52 {
52 int afh_d = mkstemp( sName.getStr() ); 53 int afh_d = mkstemp( sName.getStr() );
@@ -66,6 +67,7 @@ namespace Bu
66 *@param t (mode_t) The new file access permissions. 67 *@param t (mode_t) The new file access permissions.
67 */ 68 */
68 void chmod( mode_t t ); 69 void chmod( mode_t t );
70#endif
69 71
70 private: 72 private:
71 FILE *fh; 73 FILE *fh;