-
-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
adbe2e8
commit 0712f76
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
https://bugs.gentoo.org/869419 | ||
|
||
POSIX_C_SOURCE is needed for ftello. | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -269,6 +269,7 @@ add_library(aom_rtcd OBJECT ${AOM_RTCD_SOURCES}) | ||
add_dependencies(aom_rtcd aom_version) | ||
|
||
if(ENABLE_EXAMPLES) | ||
+ add_definitions(-D_POSIX_C_SOURCE=200112L) | ||
add_library(aom_encoder_stats OBJECT ${AOM_ENCODER_STATS_SOURCES}) | ||
set(AOM_LIB_TARGETS ${AOM_LIB_TARGETS} aom_encoder_stats) | ||
endif() |