diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-06 12:33:00 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-16 14:53:21 +0100 |
commit | 4c38ab4864463b8266f7202a702f4fd3b01af060 (patch) | |
tree | 472165eba32c285f7bfae6d5673855f1292b7bd8 /src | |
parent | 2dcff5590e22d47de41b4bf1beb1d6666286bee7 (diff) |
test,modem-helpers: remove conditional compilation
We require already GLib 2.30
Diffstat (limited to 'src')
-rw-r--r-- | src/tests/test-modem-helpers.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/tests/test-modem-helpers.c b/src/tests/test-modem-helpers.c index d1806068..712f4efa 100644 --- a/src/tests/test-modem-helpers.c +++ b/src/tests/test-modem-helpers.c @@ -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) { |