You've already forked cpp-httplib
Code format
This commit is contained in:
26
httplib.h
26
httplib.h
@ -86,19 +86,19 @@
|
|||||||
// Prefer gnu::deprecated, otherwise gcc complains if we use
|
// Prefer gnu::deprecated, otherwise gcc complains if we use
|
||||||
// [[deprecated]] together with pedantic.
|
// [[deprecated]] together with pedantic.
|
||||||
#ifndef CPPHTTPLIB_DEPRECATED
|
#ifndef CPPHTTPLIB_DEPRECATED
|
||||||
# if defined(__has_cpp_attribute)
|
#if defined(__has_cpp_attribute)
|
||||||
# if __has_cpp_attribute(gnu::deprecated)
|
#if __has_cpp_attribute(gnu::deprecated)
|
||||||
# define CPPHTTPLIB_DEPRECATED [[gnu::deprecated]]
|
#define CPPHTTPLIB_DEPRECATED [[gnu::deprecated]]
|
||||||
# else
|
#else
|
||||||
# if __has_cpp_attribute(deprecated)
|
#if __has_cpp_attribute(deprecated)
|
||||||
# define CPPHTTPLIB_DEPRECATED [[deprecated]]
|
#define CPPHTTPLIB_DEPRECATED [[deprecated]]
|
||||||
# else
|
#else
|
||||||
# define CPPHTTPLIB_DEPRECATED
|
#define CPPHTTPLIB_DEPRECATED
|
||||||
# endif
|
#endif
|
||||||
# endif
|
#endif
|
||||||
# else
|
#else
|
||||||
# define CPPHTTPLIB_DEPRECATED
|
#define CPPHTTPLIB_DEPRECATED
|
||||||
# endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user