diff options
Diffstat (limited to 'ace/FILE_Addr.h')
-rw-r--r-- | ace/FILE_Addr.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ace/FILE_Addr.h b/ace/FILE_Addr.h index dcfd2dbef7b..e49240dbe7f 100644 --- a/ace/FILE_Addr.h +++ b/ace/FILE_Addr.h @@ -45,7 +45,12 @@ public: virtual void *get_addr (void) const; // Return a pointer to the address. - virtual int addr_to_string (LPTSTR addr, size_t) const; +#if defined (UNICODE) + virtual int addr_to_string (wchar_t *addr, size_t) const; + // Transform the current address into string format. +#endif /* UNICODE */ + + virtual int addr_to_string (char *addr, size_t) const; // Transform the current address into string format. virtual int operator == (const ACE_Addr &SAP) const; |