summaryrefslogtreecommitdiff
path: root/tests/Unload_libACE.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Unload_libACE.cpp')
-rw-r--r--tests/Unload_libACE.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/Unload_libACE.cpp b/tests/Unload_libACE.cpp
index 07268f113e7..a9c52e30c4c 100644
--- a/tests/Unload_libACE.cpp
+++ b/tests/Unload_libACE.cpp
@@ -225,8 +225,20 @@ main ( int, char ** )
return 0;
}
#else
+# if defined (WIN32) && defined (ACE_USES_WCHAR)
+// Borrow include list from ace_wchar.h
+# if defined (ACE_HAS_WINCE)
+# include /**/ <wtypes.h>
+# elif !defined (__BORLANDC__)
+# include /**/ <wchar.h>
+# endif /* ACE_HAS_WINCE || __BORLANDC__ */
+
+int
+wmain ( int, wchar_t ** )
+#else
int
main ( int, char ** )
+#endif /* (WIN32) && (ACE_USES_WCHAR) */
{
char const *const program = "UnloadLibACE";