mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-03 05:10:16 -05:00
Fix build errors due new gcc 10 default for -fno-common
This commit is contained in:
parent
2f9e0e6fdd
commit
5bac3d64a6
9 changed files with 34 additions and 17 deletions
|
|
@ -389,14 +389,14 @@ void os_clear(void);
|
|||
*
|
||||
* If no log file is selected, it's 0.
|
||||
*/
|
||||
FILE* stdlog;
|
||||
extern FILE* stdlog;
|
||||
|
||||
/**
|
||||
* Exit codes for testing.
|
||||
*/
|
||||
int exit_success;
|
||||
int exit_failure;
|
||||
int exit_sync_needed;
|
||||
extern int exit_success;
|
||||
extern int exit_failure;
|
||||
extern int exit_sync_needed;
|
||||
#undef EXIT_SUCCESS
|
||||
#undef EXIT_FAILURE
|
||||
#define EXIT_SUCCESS exit_success
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue