mirror of
https://github.com/xorgy/mediafire-fuse
synced 2026-01-13 21:24:28 -08:00
Use _DEFAULT_SOURCE instead of _BSD_SOURCE, since _BSD_SOURCE is deprecated.
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define _POSIX_C_SOURCE 200809L // for strdup and struct timespec
|
#define _POSIX_C_SOURCE 200809L // for strdup and struct timespec
|
||||||
#define _BSD_SOURCE // for strdup on old systems
|
#define _DEFAULT_SOURCE // for strdup on old systems
|
||||||
#define _GNU_SOURCE // for getline on old systems
|
#define _GNU_SOURCE // for getline on old systems
|
||||||
|
|
||||||
#define FUSE_USE_VERSION 30
|
#define FUSE_USE_VERSION 30
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define _POSIX_C_SOURCE 200809L // for strdup
|
#define _POSIX_C_SOURCE 200809L // for strdup
|
||||||
#define _BSD_SOURCE // for strdup on old systems
|
#define _DEFAULT_SOURCE // for strdup on old systems
|
||||||
|
|
||||||
#include <jansson.h>
|
#include <jansson.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define _POSIX_C_SOURCE 200809L // for strdup
|
#define _POSIX_C_SOURCE 200809L // for strdup
|
||||||
#define _BSD_SOURCE // for strdup on old systems
|
#define _DEFAULT_SOURCE // for strdup on old systems
|
||||||
|
|
||||||
#include <jansson.h>
|
#include <jansson.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define _POSIX_C_SOURCE 200809L // for strdup
|
#define _POSIX_C_SOURCE 200809L // for strdup
|
||||||
#define _BSD_SOURCE // for strdup on old systems
|
#define _DEFAULT_SOURCE // for strdup on old systems
|
||||||
|
|
||||||
#include <jansson.h>
|
#include <jansson.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define _POSIX_C_SOURCE 200809L // for strdup
|
#define _POSIX_C_SOURCE 200809L // for strdup
|
||||||
#define _BSD_SOURCE // for strdup on old systems
|
#define _DEFAULT_SOURCE // for strdup on old systems
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define _POSIX_C_SOURCE 200809L // for strdup
|
#define _POSIX_C_SOURCE 200809L // for strdup
|
||||||
#define _BSD_SOURCE // for strdup on old systems
|
#define _DEFAULT_SOURCE // for strdup on old systems
|
||||||
|
|
||||||
#include <openssl/md5.h>
|
#include <openssl/md5.h>
|
||||||
#include <openssl/sha.h>
|
#include <openssl/sha.h>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define _POSIX_C_SOURCE 200809L // for strdup
|
#define _POSIX_C_SOURCE 200809L // for strdup
|
||||||
#define _BSD_SOURCE // for strdup on old systems
|
#define _DEFAULT_SOURCE // for strdup on old systems
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <openssl/sha.h>
|
#include <openssl/sha.h>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#ifdef __linux
|
#ifdef __linux
|
||||||
#define _POSIX_C_SOURCE 200809L // for strdup and getline
|
#define _POSIX_C_SOURCE 200809L // for strdup and getline
|
||||||
#define _BSD_SOURCE // for strsep
|
#define _DEFAULT_SOURCE // for strsep
|
||||||
#else
|
#else
|
||||||
#define _WITH_GETLINE // on freebsd for getline
|
#define _WITH_GETLINE // on freebsd for getline
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define _POSIX_C_SOURCE 200809L // for strdup
|
#define _POSIX_C_SOURCE 200809L // for strdup
|
||||||
#define _BSD_SOURCE // for strdup on old systems
|
#define _DEFAULT_SOURCE // for strdup on old systems
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user