diff options
author | spark <spark@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-03-08 23:04:22 +0000 |
---|---|---|
committer | spark <spark@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-03-08 23:04:22 +0000 |
commit | cc3b17a57aa851681fc828f04ca16b20aac420f6 (patch) | |
tree | 79708fa16a3feb82ecab6b3a934d00223b4576b3 /ace | |
parent | b840642b0399de11c94134f7014d8ebf13246ff2 (diff) | |
download | ATCD-cc3b17a57aa851681fc828f04ca16b20aac420f6.tar.gz |
Disabled Ctor with ACE_HANDLE on WinCE since ACE_HANDLE is same as FILE* on WinCE.
Diffstat (limited to 'ace')
-rw-r--r-- | ace/Read_Buffer.cpp | 2 | ||||
-rw-r--r-- | ace/Read_Buffer.h | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ace/Read_Buffer.cpp b/ace/Read_Buffer.cpp index 2b88461446e..e78315e0990 100644 --- a/ace/Read_Buffer.cpp +++ b/ace/Read_Buffer.cpp @@ -33,6 +33,7 @@ ACE_Read_Buffer::ACE_Read_Buffer (FILE *fp, this->allocator_ = ACE_Allocator::instance (); } +#if !defined (ACE_HAS_WINCE) ACE_Read_Buffer::ACE_Read_Buffer (ACE_HANDLE handle, int close_on_delete, ACE_Allocator *alloc) @@ -45,6 +46,7 @@ ACE_Read_Buffer::ACE_Read_Buffer (ACE_HANDLE handle, if (this->allocator_ == 0) this->allocator_ = ACE_Allocator::instance (); } +#endif // ACE_HAS_WINCE ACE_Read_Buffer::~ACE_Read_Buffer (void) { diff --git a/ace/Read_Buffer.h b/ace/Read_Buffer.h index ad1bef9fa32..6e3940a04d2 100644 --- a/ace/Read_Buffer.h +++ b/ace/Read_Buffer.h @@ -46,10 +46,14 @@ public: int close_on_delete = 0, ACE_Allocator * = 0); +#if !defined (ACE_HAS_WINCE) + // Note that ACE_HANDLE = FILE under CE. + /// Read from an open HANDLE. ACE_Read_Buffer (ACE_HANDLE handle, int close_on_delete = 0, ACE_Allocator * = 0); +#endif // ACE_HAS_WINCE /// Closes the FILE *. ~ACE_Read_Buffer (void); |