diff options
author | David <david@xagasoft.com> | 2007-06-19 06:05:55 +0000 |
---|---|---|
committer | David <david@xagasoft.com> | 2007-06-19 06:05:55 +0000 |
commit | 2b0fa89df615cb4789668014475ae64d99e773b5 (patch) | |
tree | 818d58faaf0e91530888284d75e6700d9097b1c7 /src/file.h | |
parent | 8a7fed8386c152023ddae611fe274b966287370a (diff) | |
download | libbu++-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 '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; |