diff options
author | Matthew Newhook <matthew@zeroc.com> | 2009-08-07 11:10:57 +0800 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2009-08-07 11:10:57 +0800 |
commit | e47e08887c823824bfc36f102c065075737394b1 (patch) | |
tree | dcbb175cb6ba3204ac55a06d61d28c488227ab4f /cpp/include/IceUtil/FileUtil.h | |
parent | Revert "4171 - Global namespace pollution" (diff) | |
download | ice-e47e08887c823824bfc36f102c065075737394b1.tar.bz2 ice-e47e08887c823824bfc36f102c065075737394b1.tar.xz ice-e47e08887c823824bfc36f102c065075737394b1.zip |
Revert "Changes for bug 3962 and 4714"
This reverts commit d38ad95e45c0083d602a43e6d77e6c1599f324fe.
Diffstat (limited to 'cpp/include/IceUtil/FileUtil.h')
-rw-r--r-- | cpp/include/IceUtil/FileUtil.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/cpp/include/IceUtil/FileUtil.h b/cpp/include/IceUtil/FileUtil.h index f68ec32ce03..d081a6a5cba 100644 --- a/cpp/include/IceUtil/FileUtil.h +++ b/cpp/include/IceUtil/FileUtil.h @@ -11,7 +11,6 @@ #define ICE_FILE_UTIL_H #include <IceUtil/Config.h> -#include <sys/stat.h> namespace IceUtilInternal { @@ -21,39 +20,6 @@ namespace IceUtilInternal // ICE_UTIL_API bool isAbsolutePath(const std::string&); -// -// Determine if a file exists. -// -ICE_UTIL_API bool fileExists(const std::string&); - -// -// Determine if a directory exists. -// -ICE_UTIL_API bool directoryExists(const std::string&); - -#ifdef _WIN32 - -typedef struct _stat64i32 structstat; -#ifdef _MSC_VER -# define O_RDONLY _O_RDONLY -# define O_BINARY _O_BINARY - -# define S_ISDIR(mode) ((mode) & _S_IFDIR) -# define S_ISREG(mode) ((mode) & _S_IFREG) -#endif - -#else - -typedef struct stat structstat; -# define O_BINARY 0 - -#endif - -// -// OS stat -// -ICE_UTIL_API int stat(const std::string&, structstat*); - }; #endif |