test,modem-helpers: remove conditional compilation

We require already GLib 2.30
This commit is contained in:
Aleksander Morgado
2012-03-06 12:33:00 +01:00
parent 2dcff5590e
commit 4c38ab4864

View File

@@ -1296,13 +1296,7 @@ _mm_log (const char *loc,
/* Dummy log function */
}
#if GLIB_CHECK_VERSION(2,25,12)
typedef GTestFixtureFunc TCFunc;
#else
typedef void (*TCFunc)(void);
#endif
#define TESTCASE(t, d) g_test_create_case (#t, 0, d, NULL, (TCFunc) t, NULL)
#define TESTCASE(t, d) g_test_create_case (#t, 0, d, NULL, (GTestFixtureFunc) t, NULL)
int main (int argc, char **argv)
{