regressions: Fix typo in ck_queue regressions, _GNU_SOURCE also needed.

ck_pring
Samy Al Bahra 13 years ago
parent 02109beef7
commit 3fa28d9a95

@ -15,4 +15,4 @@ clean:
rm -rf *~ *.o $(OBJECTS) *.dSYM rm -rf *~ *.o $(OBJECTS) *.dSYM
include ../../../build/regressions.build include ../../../build/regressions.build
CFLAGS+=$(PTHREAD_CFLAGS) CFLAGS+=$(PTHREAD_CFLAGS) -D_GNU_SOURCE

@ -140,7 +140,7 @@ main(int argc, char *argv[])
goal = atoi(argv[2]); goal = atoi(argv[2]);
if (goal < 4) { if (goal < 4) {
fprintf(stderr, "ERROR: Number of entires must be >= 4.\n"); fprintf(stderr, "ERROR: Number of entries must be >= 4.\n");
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }

@ -140,7 +140,7 @@ main(int argc, char *argv[])
goal = atoi(argv[2]); goal = atoi(argv[2]);
if (goal < 4) { if (goal < 4) {
fprintf(stderr, "ERROR: Number of entires must be >= 4.\n"); fprintf(stderr, "ERROR: Number of entries must be >= 4.\n");
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }

Loading…
Cancel
Save