diff options
author | Matthew Newhook <matthew@zeroc.com> | 2005-07-07 12:14:43 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2005-07-07 12:14:43 +0000 |
commit | 696deb70a4298acb8e649d05798aa839d317233c (patch) | |
tree | 20f238299b18f5916b31da192e03e8dbd7626f53 /cppe/src/IceE/Time.cpp | |
parent | fix problem with _NO_ vs. _HAS_ (diff) | |
download | ice-696deb70a4298acb8e649d05798aa839d317233c.tar.bz2 ice-696deb70a4298acb8e649d05798aa839d317233c.tar.xz ice-696deb70a4298acb8e649d05798aa839d317233c.zip |
fix a WCE build error.
Diffstat (limited to 'cppe/src/IceE/Time.cpp')
-rw-r--r-- | cppe/src/IceE/Time.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/cppe/src/IceE/Time.cpp b/cppe/src/IceE/Time.cpp index 7f3bc9eff70..b6056aa3a32 100644 --- a/cppe/src/IceE/Time.cpp +++ b/cppe/src/IceE/Time.cpp @@ -8,12 +8,14 @@ // ********************************************************************** #include <IceE/Time.h> - -#if defined(_WIN32) -# include <sys/timeb.h> -# include <time.h> -#else -# include <sys/time.h> +
+#ifndef _WIN32_WCE +# if defined(_WIN32) +# include <sys/timeb.h> +# include <time.h> +# else +# include <sys/time.h> +# endif
#endif using namespace Ice; |