diff options
Diffstat (limited to 'ace/INET_Addr.h')
-rw-r--r-- | ace/INET_Addr.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/ace/INET_Addr.h b/ace/INET_Addr.h index 5dbc2e2274c..ab74a1bb276 100644 --- a/ace/INET_Addr.h +++ b/ace/INET_Addr.h @@ -90,7 +90,6 @@ public: ACE_UINT32 ip_addr, const char protocol[] = "tcp"); -#if defined (ACE_HAS_WCHAR) ACE_INET_Addr (u_short port_number, const wchar_t host_name[], int address_family = AF_UNSPEC); @@ -104,7 +103,6 @@ public: ACE_INET_Addr (const wchar_t port_name[], ACE_UINT32 ip_addr, const wchar_t protocol[] = ACE_TEXT_WIDE ("tcp")); -#endif /* ACE_HAS_WCHAR */ /// Default dtor. ~ACE_INET_Addr (void); @@ -172,7 +170,6 @@ public: int set (const sockaddr_in *, int len); -#if defined (ACE_HAS_WCHAR) int set (u_short port_number, const wchar_t host_name[], int encode = 1, @@ -187,7 +184,6 @@ public: const wchar_t protocol[] = ACE_TEXT_WIDE ("tcp")); int set (const wchar_t addr[]); -#endif /* ACE_HAS_WCHAR */ /// Return a pointer to the underlying network address. virtual void *get_addr (void) const; @@ -222,12 +218,6 @@ public: */ virtual int string_to_addr (const char address[]); -#if defined (ACE_HAS_WCHAR) - /* - virtual int string_to_addr (const char address[]); - */ -#endif /* ACE_HAS_WCHAR */ - /** * Sets the port number without affecting the host name. If * <encode> is enabled then <port_number> is converted into network @@ -273,10 +263,8 @@ public: int get_host_name (char hostname[], size_t hostnamelen) const; -#if defined (ACE_HAS_WCHAR) int get_host_name (wchar_t hostname[], size_t hostnamelen) const; -#endif /* ACE_HAS_WCHAR */ /** * Return the character representation of the hostname (this version |