Rene Rivera
d990549214
Fix redef of OS_BSD predef.
...
When a BSD sub-os header is included directly the general
OS_BSD predef is inidially defined as not-available. Which
warns as the sub-os header defines it. The fix is to unconditionally
un-def the OS_BSD predef.
fixes https://github.com/boostorg/predef/issues/111
2021-01-04 14:37:33 -06:00
Rene Rivera
966707dc1f
Remove deprecated HASH_PREDEF_OS_ANDROID.
...
Fixes #101 (merge from hash-predef)
2020-02-29 09:34:42 -06:00
Rene Rivera
fb59068deb
Convert documentatio to Asciidoctor.
2019-12-31 16:14:17 -06:00
Rene Rivera
7e31244f01
Fix bad include of sub-BSD os headers from main BSD header.
...
Fixes #85
2019-01-14 00:21:46 -06:00
Rene Rivera
6fea8a4b90
Fix NetBSD def name.
2019-01-13 11:56:08 -06:00
Rene Rivera
a340a52605
Add PLAT_ANDROID and deprecate OS_ANDROID.
...
Fixes #41 #81
2019-01-10 13:27:41 -06:00
Dimitri John Ledkov
d58fcca2d5
os/linux: add more linux detection defines. ( #91 )
...
Some releases of g++, on some platforms, whilst running under some
standards, may not define neither linux, nor __linux. Add detections
for __linux__ and __gnu_linux__ for robustness.
2018-11-26 08:15:55 -06:00
James E. King III
62a50d3892
Add version information to os/cygwin detection ( #88 )
2018-11-06 08:56:11 -06:00
James E. King, III
5e8f5d5a4b
properly obtain the FreeBSD version (BOOST_OS_BSD_FREE) ( #69 )
2017-11-10 07:04:25 -06:00
James E. King, III
4a230ebe85
add detection for OpenBSD 5.x and 6.x ( #67 )
...
This fixes #66
2017-11-08 23:01:35 -06:00
Rene Rivera
e31d12f25d
Fix typo in header guard.
2017-10-25 12:32:20 -05:00
Chandimal Hamparawa
177a6ca792
fixed a typo in BOOST_OS_CYGWIN macro
2015-10-20 14:23:12 +05:30
Rene Rivera
a3dffe8f1a
Update docs for check utility changes and for 1.3 release. Bump versions
...
for release of 1.3. Update copyrights that I forgot on the previous
commits.
2015-07-01 17:19:29 -05:00
Rene Rivera
0f113b0871
Fix non-standard test feature test collection. I.e. make the feature
...
collection no rely on implementioned defined behaviour. And fix check
program handling of no-expression invocations vs expression invocations.
2015-06-29 18:49:33 -05:00
Rene Rivera
ce0959ba62
Fix Haiku detection syntax error when Haiku is not detected. Bump
...
version to 1.2 and update docs.
2014-12-29 11:26:49 -06:00
Jessica Hamilton
a7d2f3813e
haiku: fix copyright
2014-12-29 10:52:24 -06:00
Jessica Hamilton
9a435659cd
haiku: add platform support
2014-12-29 10:52:10 -06:00
Rene Rivera
372b4bd477
Fix OS_SVR4 missing AVAILABLE macro def. Fix marking OS_UNIX as
...
exclusive.
2014-07-07 08:25:21 -05:00
Rene Rivera
2decd4f4bf
Let OS_UNIX be detected at all times as it overlaps with other OS types.
2014-07-07 08:21:22 -05:00
Rene Rivera
40a722d69b
Fix warning for undefined macro usage.
2014-07-06 21:49:24 -05:00
Franz Detro
9e5f79735c
added missing 'Copyright'
2014-03-12 14:09:22 +01:00
Franz Detro
96ce033128
changed MacOS vs. iOS detection to match policies of library
2014-03-12 14:06:17 +01:00
Franz Detro
604f0d35b7
adjusted copyrights as requested by review
2014-03-12 14:05:14 +01:00
Franz Detro
e3a435add2
add detection of Apple iOS (BOOST_OS_IOS)
2014-02-26 08:59:58 +01:00
Franz Detro
ba7668860c
created a copy of macos.h as basis for ios.h
2014-02-25 17:08:06 +01:00
Rene Rivera
3ccc33fa28
Update copyrights back to original author.
2014-01-10 08:46:03 -06:00
Rene Rivera
cf90bd0219
More stringent testing of OSX BSD like behavior. Fix BSD mis-detection
...
on OSX depending on include order.
2013-10-14 23:21:51 -05:00
Rene Rivera
6007034752
Fix repeat def of OS_BSD when sub-BSD flavor detected. Fix some make
...
tests that fail on non-2003 compile modes.
2013-10-14 23:00:52 -05:00
Rene Rivera
b28bad14ea
Address endian compile errors for OSX in the cases where sys/param.h was
...
include ahead of the predef headers. The solution was to: use the OSX
machine/endian.h header, and only allow a single OS to be detected at
once. Test cases added for both conditions on OSX.
2013-10-05 16:41:55 -05:00
Rene Rivera
1b12a19027
Fix bad tests for sub-BSD OS detections that resulted in sub-BSD flavors
...
being detected but appearing that the super-BSD was not detected.
2013-09-26 22:15:27 -05:00
Rene Rivera
4c91cba47c
Add basic Android OS detection. Some adjustments to endian detection to
...
avoid setting multiple endianness and to avoid including extra headers.
Addition of some documentation to endian detection.
2013-03-19 23:45:35 -05:00
Rene Rivera
9fcecba7cc
Most changes from review comments implemented. Remove use of "#elif" for
...
backward PP compatability. Add BOOST_category_item_AVAILABLE as a
defined, or not, symbol for use with "#ifdef" or "#ifndef". Add
documentation of macros used for detection and version information. Also
replace direct use of BVN(0,0,0) and BVN(0,0,1) with more meaningful
macros that are globally defined, and hence consistent.
2013-01-18 21:25:30 -06:00
grafikrobot
68470ca33e
Add definition docs for all the predefs.
2013-01-10 23:23:37 -06:00
Rene Rivera
fe6037697c
Get the doc building working again (with the quickbook-dev branch).
...
Update html docs to match latest code state.
2013-01-05 15:31:59 -06:00
Rene Rivera
dbb5965186
Restructure the project to match new modular layout.
2012-12-28 22:25:52 -06:00