summaryrefslogtreecommitdiff
path: root/ace/SV_Semaphore_Simple.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/SV_Semaphore_Simple.h')
-rw-r--r--ace/SV_Semaphore_Simple.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/ace/SV_Semaphore_Simple.h b/ace/SV_Semaphore_Simple.h
index 85ba4c0daa0..02d0da8ed12 100644
--- a/ace/SV_Semaphore_Simple.h
+++ b/ace/SV_Semaphore_Simple.h
@@ -67,13 +67,12 @@ public:
int initial_value = 1,
u_short nsems = 1,
int perms = ACE_DEFAULT_FILE_PERMS);
-#if defined (ACE_HAS_WCHAR)
+
ACE_SV_Semaphore_Simple (const wchar_t *name,
int flags = ACE_SV_Semaphore_Simple::ACE_CREATE,
int initial_value = 1,
u_short nsems = 1,
int perms = ACE_DEFAULT_FILE_PERMS);
-#endif /* ACE_HAS_WCHAR */
~ACE_SV_Semaphore_Simple (void);
@@ -83,13 +82,11 @@ public:
u_short nsems = 1,
int perms = ACE_DEFAULT_FILE_PERMS);
-#if defined (ACE_HAS_WCHAR)
int open (const wchar_t *name,
int flags = ACE_SV_Semaphore_Simple::ACE_CREATE,
int initial_value = 1,
u_short nsems = 1,
int perms = ACE_DEFAULT_FILE_PERMS);
-#endif /* ACE_HAS_WCHAR */
/// Open or create one or more SV_Semaphores. We return 0 if all is
/// OK, else -1.