← Commit list

27936d411a

Viktor Szakats
Viktor Szakats
2026-05-14
SUCCESS Duration: 280s

Subject

lib: make `__STDC_VERSION__` literals `L` (where missing)

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/curl_setup.h+1 -1
@@ -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
lib/curl_sha512_256.c+1 -1
@@ -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