diff options
Diffstat (limited to 'tests/Proactor_Test.cpp')
-rw-r--r-- | tests/Proactor_Test.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/Proactor_Test.cpp b/tests/Proactor_Test.cpp index 0dc3f63e4da..264613ee86c 100644 --- a/tests/Proactor_Test.cpp +++ b/tests/Proactor_Test.cpp @@ -88,6 +88,7 @@ static const size_t MIN_TIME = 1; // min 1 sec static const size_t MAX_TIME = 3600; // max 1 hour static size_t seconds = 2; // default time to run - 2 seconds +#if (defined (ACE_WIN32) && !defined (ACE_HAS_WINCE)) static ACE_TCHAR request_line[] = ACE_TEXT ("GET / HTTP/1.1\r\n"); @@ -96,10 +97,11 @@ static ACE_TCHAR headers[] = ACE_TEXT ("Accept-Language: C++\r\n") ACE_TEXT ("Accept-Encoding: gzip, deflate\r\n") ACE_TEXT ("User-Agent: Proactor_Test/1.0 (non-compatible)\r\n") - ACE_TEXT ("Connection: Keep-Alive\r\n"); + ACE_TEXT ("Connection: Keep-Alive\r\n"); static ACE_TCHAR end_of_request_header[] = ACE_TEXT ("\r\n"); +#endif /* (defined (ACE_WIN32) && !defined (ACE_HAS_WINCE)) */ static ACE_TCHAR complete_message[] = "GET / HTTP/1.1\r\n" |