summaryrefslogtreecommitdiff
path: root/cpp/include/IceUtil/FileUtil.h
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2012-08-08 18:52:08 +0200
committerJose <jose@zeroc.com>2012-08-08 18:52:08 +0200
commit0dd3bcb062c3aaf9ffb8ca56b58c13d5dc714545 (patch)
tree8067c6695cc5e9672582a904409846e38ffba593 /cpp/include/IceUtil/FileUtil.h
parentFixed python & ruby compilation error caused by OutputStream::format removal (diff)
downloadice-0dd3bcb062c3aaf9ffb8ca56b58c13d5dc714545.tar.bz2
ice-0dd3bcb062c3aaf9ffb8ca56b58c13d5dc714545.tar.xz
ice-0dd3bcb062c3aaf9ffb8ca56b58c13d5dc714545.zip
remove VC6 support
Diffstat (limited to 'cpp/include/IceUtil/FileUtil.h')
-rw-r--r--cpp/include/IceUtil/FileUtil.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/cpp/include/IceUtil/FileUtil.h b/cpp/include/IceUtil/FileUtil.h
index 054a8c9fef0..c8973c31884 100644
--- a/cpp/include/IceUtil/FileUtil.h
+++ b/cpp/include/IceUtil/FileUtil.h
@@ -38,7 +38,7 @@ ICE_UTIL_API bool directoryExists(const std::string&);
#ifdef _WIN32
-#if defined(__MINGW32__) || (defined(_MSC_VER) && (_MSC_VER < 1300))
+#if defined(__MINGW32__)
typedef struct _stat structstat;
#else
typedef struct _stat64i32 structstat;
@@ -118,10 +118,6 @@ public:
ifstream();
ifstream(const std::string&, std::ios_base::openmode mode = std::ios_base::in);
-#ifdef _STLP_BEGIN_NAMESPACE
- ~ifstream();
- void close();
-#endif
void open(const std::string&, std::ios_base::openmode mode = std::ios_base::in);
private:
@@ -129,10 +125,6 @@ private:
// Hide const char* definitions since they shouldn't be used.
ifstream(const char*);
void open(const char*, std::ios_base::openmode mode = std::ios_base::in);
-
-#ifdef _STLP_BEGIN_NAMESPACE
- int _fd;
-#endif
};
class ICE_UTIL_API ofstream : public std::ofstream
@@ -141,10 +133,6 @@ public:
ofstream();
ofstream(const std::string&, std::ios_base::openmode mode = std::ios_base::out);
-#ifdef _STLP_BEGIN_NAMESPACE
- ~ofstream();
- void close();
-#endif
void open(const std::string&, std::ios_base::openmode mode = std::ios_base::out);
private:
@@ -152,10 +140,6 @@ private:
// Hide const char* definitions since they shouldn't be used.
ofstream(const char*);
void open(const char*, std::ios_base::openmode mode = std::ios_base::out);
-
-#ifdef _STLP_BEGIN_NAMESPACE
- int _fd;
-#endif
};
}