summaryrefslogtreecommitdiff
path: root/cppe/src
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2005-07-07 12:14:43 +0000
committerMatthew Newhook <matthew@zeroc.com>2005-07-07 12:14:43 +0000
commit696deb70a4298acb8e649d05798aa839d317233c (patch)
tree20f238299b18f5916b31da192e03e8dbd7626f53 /cppe/src
parentfix problem with _NO_ vs. _HAS_ (diff)
downloadice-696deb70a4298acb8e649d05798aa839d317233c.tar.bz2
ice-696deb70a4298acb8e649d05798aa839d317233c.tar.xz
ice-696deb70a4298acb8e649d05798aa839d317233c.zip
fix a WCE build error.
Diffstat (limited to 'cppe/src')
-rw-r--r--cppe/src/IceE/Time.cpp14
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;