summaryrefslogtreecommitdiff
path: root/src/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/file.h')
-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;