Skip to content

Commit

Permalink
Fixed redefinition
Browse files Browse the repository at this point in the history
  • Loading branch information
hypertensiune committed Jul 17, 2024
1 parent 44eec0e commit 9bed7b0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ccloc/ccloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@
#define MAX_FILE_DISPLAY_LEN 50

#define ARG(i, s) (strcmp(argv[i], s) == 0)
#define max(x, y) ((x) > (y) ? (x) : (y))

#ifndef WIN32
#define max(x, y) ((x) > (y) ? (x) : (y))
#endif

pthread_mutex_t mutex;

Expand Down

0 comments on commit 9bed7b0

Please sign in to comment.