build: remove unneeded GLIB_CHECK_VERSION checks, 2.32 already required

This commit is contained in:
Aleksander Morgado
2013-06-18 16:55:29 +02:00
parent a33e9671ea
commit 2a922f836d
5 changed files with 0 additions and 27 deletions
-5
View File
@@ -362,11 +362,7 @@ test_take_convert_ucs2_bad_ascii2 (void *f, gpointer d)
}
#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)
@@ -403,4 +399,3 @@ int main (int argc, char **argv)
return result;
}
-4
View File
@@ -439,11 +439,7 @@ test_pty_cleanup (gpointer user_data)
}
}
#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_PTY(t, d) g_test_create_case (#t, sizeof (*d), d, (TCFunc) test_pty_create, (TCFunc) t, (TCFunc) test_pty_cleanup)