mirror of
https://github.com/curl/curl.git
synced 2026-05-30 00:47:30 +03:00
lib: make __STDC_VERSION__ literals L (where missing)
This commit is contained in:
parent
1a69c3a9c0
commit
27936d411a
2 changed files with 2 additions and 2 deletions
|
|
@ -1578,7 +1578,7 @@ typedef struct sockaddr_un {
|
|||
/* The code is compiled with C++ compiler.
|
||||
C++ always supports 'inline'. */
|
||||
# define CURL_INLINE inline /* 'inline' keyword supported */
|
||||
#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901
|
||||
#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
|
||||
/* C99 (and later) supports 'inline' keyword */
|
||||
# define CURL_INLINE inline /* 'inline' keyword supported */
|
||||
#elif defined(__GNUC__) && __GNUC__ >= 3
|
||||
|
|
|
|||
|
|
@ -301,7 +301,7 @@ static CURLcode Curl_sha512_256_finish(unsigned char *digest, void *context)
|
|||
|
||||
#ifdef __GNUC__
|
||||
# if defined(__has_attribute) && defined(__STDC_VERSION__)
|
||||
# if __has_attribute(always_inline) && __STDC_VERSION__ >= 199901
|
||||
# if __has_attribute(always_inline) && __STDC_VERSION__ >= 199901L
|
||||
# define CURL_FORCEINLINE CURL_INLINE __attribute__((always_inline))
|
||||
# endif
|
||||
# endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue