int main (void) { if (get_version_1 () != 104) return 1; if (get_version_2 () != 203) return 2; return 0; }
int main (void) { int v1 = get_version_1 (); int v2 = get_version_2 (); if (v1 != 104) return 1; /* The value returned by get_version_2 depends on the target system. */ if (v2 != 104 && v2 != 203) return 2; return 0; /* STOP */ }
int main (void) { int v1 = get_version_1 (); int v2 = get_version_2 (); if (v1 != 104) return 1; /* The value returned by get_version_2 depends on the target. On GNU/Linux, for instance, it should return 104. But on x86-windows, for instance, it will return 203. */ if (v2 != 104 && v2 != 203) return 2; return 0; }