#include <timely/time_stamp.h>
#include <unit_test/unit_base.h>
-#ifdef __WIN32__
+#ifdef _MSC_VER
#include <comdef.h>
#endif
#include <stdio.h>
*fred3 += *fred2;
// testing adding a null to a string.
- *fred2 += (char *)NIL;
- *fred3 += (char *)NIL;
+ *fred2 += (char *)NULL_POINTER;
+ *fred3 += (char *)NULL_POINTER;
#ifdef DEBUG_STRING_TEST
LOG(astring("[ ") + *fred1 + " & " + *fred2 + "] -> " + *fred3);
void test_string::run_test_24()
{
FUNCDEF("run_test_24");
+#ifndef __GNU_WINDOWS__
#ifdef __WIN32__
// 24th test group tests _bstr_t conversions.
_bstr_t beast("abcdefgh");
_bstr_t pork = string_convert::to_bstr_t(jethro);
ASSERT_FALSE(strcmp(pork.operator char *(), jethro.s()), "second test failed comparison");
#endif
+#endif
}
void test_string::run_test_25()