Skip to content

Commit

Permalink
misc: refactor _GNU_SOURCE usage similar to baresip
Browse files Browse the repository at this point in the history
baresip commits:
- a3a38d348efcda4ba1894f60e449f9356753cdf5
- 21602671df2f8aeec2561720e4aa06c6dbded9c5
  • Loading branch information
cspiel1 authored and sreimers committed Feb 6, 2025
1 parent 0590152 commit 40c0f4d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ list(APPEND RE_DEFINITIONS
VER_MAJOR=${PROJECT_VERSION_MAJOR}
VER_MINOR=${PROJECT_VERSION_MINOR}
VER_PATCH=${PROJECT_VERSION_PATCH}
_GNU_SOURCE
)

add_compile_definitions(${RE_DEFINITIONS})
Expand Down
2 changes: 0 additions & 2 deletions modules/vidloop/vidloop.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
*
* Copyright (C) 2010 Alfred E. Heggestad
*/
#define _DEFAULT_SOURCE 1
#define _BSD_SOURCE 1
#include <string.h>
#include <time.h>
#include <re.h>
Expand Down

0 comments on commit 40c0f4d

Please sign in to comment.