gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 172/205: system.h: add section for tcc


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 172/205: system.h: add section for tcc
Date: Thu, 20 Apr 2017 16:21:52 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.54.0
in repository gnurl.

commit e61c04b45754915e291d665556331721cd189f51
Author: Daniel Stenberg <address@hidden>
AuthorDate: Fri Apr 7 08:22:09 2017 +0200

    system.h: add section for tcc
    
    Closes #1397
---
 include/curl/system.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/include/curl/system.h b/include/curl/system.h
index cdc8ad8a5..f4edc436d 100644
--- a/include/curl/system.h
+++ b/include/curl/system.h
@@ -363,6 +363,19 @@
 #  define CURLSYS_TYPEOF_CURL_SOCKLEN_T int
 #  define CURLSYS_SIZEOF_CURL_SOCKLEN_T 4
 
+#elif defined(__TINYC__) /* also known as tcc */
+
+#  define CURLSYS_SIZEOF_LONG           4
+#  define CURLSYS_TYPEOF_CURL_OFF_T     long long
+#  define CURLSYS_FORMAT_CURL_OFF_T     "lld"
+#  define CURLSYS_FORMAT_CURL_OFF_TU    "llu"
+#  define CURLSYS_SIZEOF_CURL_OFF_T     8
+#  define CURLSYS_SUFFIX_CURL_OFF_T     LL
+#  define CURLSYS_SUFFIX_CURL_OFF_TU    ULL
+#  define CURLSYS_TYPEOF_CURL_SOCKLEN_T socklen_t
+#  define CURLSYS_PULL_SYS_TYPES_H      1
+#  define CURLSYS_PULL_SYS_SOCKET_H     1
+
 /* ===================================== */
 /*    KEEP MSVC THE PENULTIMATE ENTRY    */
 /* ===================================== */

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]