mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 14:29:10 -07:00
Code format
This commit is contained in:
parent
919a51091f
commit
d0dc200633
1 changed files with 13 additions and 13 deletions
26
httplib.h
26
httplib.h
|
@ -86,19 +86,19 @@
|
|||
// Prefer gnu::deprecated, otherwise gcc complains if we use
|
||||
// [[deprecated]] together with pedantic.
|
||||
#ifndef CPPHTTPLIB_DEPRECATED
|
||||
# if defined(__has_cpp_attribute)
|
||||
# if __has_cpp_attribute(gnu::deprecated)
|
||||
# define CPPHTTPLIB_DEPRECATED [[gnu::deprecated]]
|
||||
# else
|
||||
# if __has_cpp_attribute(deprecated)
|
||||
# define CPPHTTPLIB_DEPRECATED [[deprecated]]
|
||||
# else
|
||||
# define CPPHTTPLIB_DEPRECATED
|
||||
# endif
|
||||
# endif
|
||||
# else
|
||||
# define CPPHTTPLIB_DEPRECATED
|
||||
# endif
|
||||
#if defined(__has_cpp_attribute)
|
||||
#if __has_cpp_attribute(gnu::deprecated)
|
||||
#define CPPHTTPLIB_DEPRECATED [[gnu::deprecated]]
|
||||
#else
|
||||
#if __has_cpp_attribute(deprecated)
|
||||
#define CPPHTTPLIB_DEPRECATED [[deprecated]]
|
||||
#else
|
||||
#define CPPHTTPLIB_DEPRECATED
|
||||
#endif
|
||||
#endif
|
||||
#else
|
||||
#define CPPHTTPLIB_DEPRECATED
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue