diff options
Diffstat (limited to 'ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.inl')
-rw-r--r-- | ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.inl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.inl b/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.inl index 03b87ef905c..b82dadd9278 100644 --- a/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.inl +++ b/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.inl @@ -15,8 +15,12 @@ Handle_L_Stream::~Handle_L_Stream (void) ACE_INLINE Handle_L_Stream::Handle_L_Stream (void) { +#ifndef ACE_LACKS_CUSERID if (Handle_L_Stream::login_name == 0) Handle_L_Stream::login_name = ACE_OS::cuserid (Handle_L_Stream::login); +#else + ACE_ERROR ((LM_ERROR, "Error: cuserid is not supported on this platform")); +#endif } ACE_INLINE int |