diff options
-rw-r--r-- | examples/ASX/UPIPE_Event_Server/Options.cpp | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/examples/ASX/UPIPE_Event_Server/Options.cpp b/examples/ASX/UPIPE_Event_Server/Options.cpp index 46ddad01923..2cec2691abd 100644 --- a/examples/ASX/UPIPE_Event_Server/Options.cpp +++ b/examples/ASX/UPIPE_Event_Server/Options.cpp @@ -176,21 +176,14 @@ Options::parse_args (int argc, ACE_TCHAR *argv[]) break; } - // HACK! This needs to be done to avoid the mismatch from ACE_TEXT - // in ACE_SIZE_T_FORMAT_SPECIFIER to narrow-char on wide-char builds. - // It only works because it's at the end of the file. -# if defined (ACE_TEXT) -# undef ACE_TEXT -# endif -# define ACE_TEXT(X) X if (this->verbose ()) ACE_OS::printf ("%8d = initial concurrency hint\n" - ACE_SIZE_T_FORMAT_SPECIFIER " = total iterations\n" - ACE_SIZE_T_FORMAT_SPECIFIER " = thread count\n" - ACE_SIZE_T_FORMAT_SPECIFIER " = low water mark\n" - ACE_SIZE_T_FORMAT_SPECIFIER " = high water mark\n" - ACE_SIZE_T_FORMAT_SPECIFIER " = message_size\n" - ACE_SIZE_T_FORMAT_SPECIFIER " = initial queue length\n" + ACE_SIZE_T_FORMAT_SPECIFIER_A " = total iterations\n" + ACE_SIZE_T_FORMAT_SPECIFIER_A " = thread count\n" + ACE_SIZE_T_FORMAT_SPECIFIER_A " = low water mark\n" + ACE_SIZE_T_FORMAT_SPECIFIER_A " = high water mark\n" + ACE_SIZE_T_FORMAT_SPECIFIER_A " = message_size\n" + ACE_SIZE_T_FORMAT_SPECIFIER_A " = initial queue length\n" "%8d = THR_BOUND\n" "%8d = THR_NEW_LWP\n", ACE_OS::thr_getconcurrency (), |