diff options
Diffstat (limited to 'test/testutil.h')
-rw-r--r-- | test/testutil.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/test/testutil.h b/test/testutil.h index c6e23887..2f557070 100644 --- a/test/testutil.h +++ b/test/testutil.h @@ -15,12 +15,26 @@ */ #include "apr_pools.h" +#include "apr_general.h" #include "abts.h" #ifndef APR_TEST_UTIL #define APR_TEST_UTIL -/* XXX FIXME */ +/* XXX: FIXME - these all should become much more utilitarian + * and part of apr, itself + */ + +#ifdef WIN32 +#ifdef BINPATH +#define TESTBINPATH APR_STRINGIFY(BINPATH) "/" +#else +#define TESTBINPATH "" +#endif +#else +#define TESTBINPATH "./" +#endif + #ifdef WIN32 #define EXTENSION ".exe" #elif NETWARE |