diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2008-11-20 20:06:52 -0330 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2008-11-20 20:06:52 -0330 |
commit | 6b769b9593547928768c8000601fe818a36465d2 (patch) | |
tree | 3fff2cecafa644abaebd4c335a32006603476a3d /cpp/include/Slice/Preprocessor.h | |
parent | Use fopen() instead of _wfopen() in preprocessor for windows (diff) | |
download | ice-6b769b9593547928768c8000601fe818a36465d2.tar.bz2 ice-6b769b9593547928768c8000601fe818a36465d2.tar.xz ice-6b769b9593547928768c8000601fe818a36465d2.zip |
Use _wtempnam on Windows to get temp file
Diffstat (limited to 'cpp/include/Slice/Preprocessor.h')
-rw-r--r-- | cpp/include/Slice/Preprocessor.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/include/Slice/Preprocessor.h b/cpp/include/Slice/Preprocessor.h index 97da004e9bc..a2efc873113 100644 --- a/cpp/include/Slice/Preprocessor.h +++ b/cpp/include/Slice/Preprocessor.h @@ -54,7 +54,11 @@ private: const std::string _path; const std::string _fileName; const std::vector<std::string> _args; +#ifdef _WIN32 + std::wstring _cppFile; +#else std::string _cppFile; +#endif FILE* _cppHandle; }; |