Logo
Explore Help
Sign In
fluencelabs/musl
1
0
Fork 0
You've already forked musl
mirror of https://github.com/fluencelabs/musl synced 2025-05-09 05:42:18 +00:00
Code Issues Projects Releases Wiki Activity
musl/arch/i386/bits/limits.h

9 lines
253 B
C
Raw Normal View History

begin namespace-cleanup of standard C headers
2011-02-14 05:10:10 -05:00
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
fix missing _BSD_SOURCE support in bits/*.h this is actually rather ugly, and would get even uglier if we ever want to support further feature test macros. at some point i may factor the bits headers into separate files for C base, POSIX base, and nonstandard extensions (the only distinctions that seem to matter now) and then the logic for which to include can go in the main header rather than being duplicated for each arch. the downside of this is that it would result in more files having to be opened during compilation, so as long as the ugliness does not grow, i'm inclined to leave it alone for now.
2012-05-22 22:12:10 -04:00
|| defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
move all limits that don't vary out of bits/limits.h, into main limits.h
2011-06-25 15:38:00 -04:00
#define PAGE_SIZE 4096
initial check-in, version 0.5.0
2011-02-12 00:22:29 -05:00
#define LONG_BIT 32
begin namespace-cleanup of standard C headers
2011-02-14 05:10:10 -05:00
#endif
initial check-in, version 0.5.0
2011-02-12 00:22:29 -05:00
#define LONG_MAX 0x7fffffffL
#define LLONG_MAX 0x7fffffffffffffffLL
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.7 Page: 71ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API