svn commit: r1921159 - /apr/apr/trunk/test/testproc.c

[email protected]
Newsgroups gmane.comp.apache.apr.cvs
Message-ID <[email protected]>
Author: ivan
Date: Mon Oct  7 08:04:53 2024
New Revision: 1921159

URL: http://svn.apache.org/viewvc?rev=1921159&view=rev
Log:
Follow-up to r1920854: Compile test_proc_args_winbatch() only on Windows.

Modified:
    apr/apr/trunk/test/testproc.c

Modified: apr/apr/trunk/test/testproc.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/testproc.c?rev=1921159&r1=1921158&r2=1921159&view=diff
==============================================================================
--- apr/apr/trunk/test/testproc.c (original)
+++ apr/apr/trunk/test/testproc.c Mon Oct  7 08:04:53 2024
@@ -230,6 +230,7 @@ static void test_proc_args(abts_case* tc
     ABTS_STR_EQUAL(tc, expected, actual);
 }
 
+#ifdef WIN32
 static void test_proc_args_winbatch(abts_case* tc, void* data)
 {
     const char* args[10];
@@ -300,7 +301,6 @@ static void test_proc_args_winbatch(abts
     ABTS_STR_EQUAL(tc, expected, actual);
 }
 
-#ifdef WIN32
 static void test_proc_unclosed_quote1(abts_case *tc, void *data)
 {
     apr_procattr_t *attr;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.