diff options
Diffstat (limited to 'src/file.h')
-rw-r--r-- | src/file.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |