Commit Graph

59 Commits

Author SHA1 Message Date
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
Steve Gates
35c34b7368 Fixing up some accidental checks that were using #ifdef when instead should have
been using just #if to define the AVALIABLE macro.
2014-06-17 11:55:04 -07:00
Rene Rivera
e65240f55b Merge pull request #8 from MSOpenTech/winrt2
Updating BOOST_PLAT_WINDOWS_* predef check to make sure macro WINAPI_FAMILY exists
2014-06-10 21:00:26 -05:00
Steve Gates
0eb222dbc5 Updating BOOST_PLAT_WINDOWS_* predef check to make sure macro WINAPI_FAMILY exists before comparing. 2014-06-10 15:44:03 -07:00
Rene Rivera
bcdaa18a31 Reverting (c) to human author. 2014-06-05 18:54:08 +03:00
Rene Rivera
4dd9dc75dc Merge Predef library to release.
[SVN r85618]
2014-06-05 17:49:28 +03:00
John Maddock
16e8970091 Merge changes from Trunk. Fixes #6013. Fixes #7151. Fixes #7359. Fixes #7389. Fixes #7452. Fixes #7528. Fixes #7703. Fixes #7841. Fixes #7898. Fixes #7938. Fixes #8048.
[SVN r83139]
2014-06-05 17:49:27 +03:00
John Maddock
380b7c8890 Merge STLPort endian detection to release.
[SVN r68091]
2014-06-05 17:49:27 +03:00
Rene Rivera
1e24fd2fc7 Merge fix for #2762 from trunk.
[SVN r62260]
2014-06-05 17:49:26 +03:00
Troy D. Straszheim
1460f69de6 Merge to release, fix for fix in r35591: sometimes __hppa is on PA-RISC but __hpux isn't (e.g. on linux)
Fixes ticket #3537

[SVN r57049]
2014-06-05 17:49:26 +03:00
Beman Dawes
b168e09aa3 Merge from trunk
[SVN r50676]
2014-06-05 17:49:25 +03:00
Andreas Huber
2aabae1e4b Corrected wrong order in copyright notices.
[SVN r36240]
2014-06-05 17:49:25 +03:00
Andreas Huber
aa54727b2f Merged a copyright addition from trunk to branch.
[SVN r36231]
2014-06-05 17:49:24 +03:00
Andreas Huber
698eab3d18 Merged L & C issue fixes from trunk to branch.
[SVN r36225]
2014-06-05 17:49:24 +03:00
John Maddock
d01035df48 Updated patch from Boris Gubenko.
[SVN r35672]
2014-06-05 17:49:24 +03:00
John Maddock
4009514a0d Fix for HP-UX on Itanium.
[SVN r35591]
2014-06-05 17:49:23 +03:00
John Maddock
1a594321aa Added 64-bit Intel processor support.
[SVN r35587]
2014-06-05 17:49:23 +03:00
Rene Rivera
fd2f919926 Add detection for macros used by VC: _M_IX86; little-endian. _M_IA64; little-endian, as this is the default on I64 and AMD64 is only little endian. _M_ALPHA; little-endian, as again it's the default and Windows doesn't run on big-endian Alpha anyway AFAIK.
[SVN r30185]
2014-06-05 17:49:22 +03:00
Caleb Epstein
0ddbe8c3a7 Machine endianness detection taken from <boost/detail/limits.hpp>
[SVN r29573]
2014-06-05 17:49:22 +03:00
Rene Rivera
56baa26f11 FUlly updated docs for version 1.1. 2014-06-03 22:29:53 -05:00
Rene Rivera
0a33d7b27d Fix BOOST_PLAT_WINDOWS_* defs being defined on non-Windows systems. 2014-05-30 13:53:45 -07:00
Steve Gates
d145f3a12c Adding missing newlines at the end of a few files. 2014-05-22 16:59:37 -07:00
Steve Gates
e3e923f6fa Addressing feedback from Rene Rivera for adding BOOST macros for detecting the Windows Runtime being targeted.
Now there are new predefs for desktop, store, phone, and the Windows Runtime (store/phone) in general.
These can easily be used throughout Boost to detect the Windows platform being targeted.
2014-05-22 16:49:54 -07:00
Steve Gates
f94637d9f4 Adding checking for _M_ARM macro for Windows.
Incorporating feedback from Rene Rivera:
Updated the Microsoft copyright to include the year.
Made sure ARM predef uses version property with V.0.0.
2014-05-22 11:34:02 -07: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
2e73899a69 improved detection of ARM platform (check for Apple clang __arm64);
set version to 8.0.0 in case of __arm64 (allows check for armv8 targets)
2014-02-26 12:23:34 +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
Adam Wulkiewicz
a4bf99ec4a Added alternative checks for endianess detection
Currently used checks doesn't work on GCC+Solaris+SPARC.
2014-02-11 15:09:55 +01:00
Rene Rivera
be45c6f54f Fix extra "&&" conditional. Thanks to Adam Wulkiewicz for finding the
error.
2014-02-08 20:46:10 -06:00
Rene Rivera
17207edcfa Add exclusive+emjulated behaviour and definitions for platform
detection.
2014-01-21 18:56:53 -06:00
Rene Rivera
a3a555610c Initial implementation of exclusive definition of compiler detection
with emulated definitions.
2014-01-16 15:50:19 -06:00
Rene Rivera
3ccc33fa28 Update copyrights back to original author. 2014-01-10 08:46:03 -06:00
Rene Rivera
a3be72217a Remove some reduntant #if-s from endian detection. 2014-01-09 08:44:37 -06:00
Rene Rivera
6d4f26a249 Add BOOST_PREDEF_VERSION def to indicate to users the version of this
library. Bump version to 1.1 for development.
2014-01-03 08:56:48 -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
141ac4b01a Resolve inspection issues. 2013-08-11 13:32:58 -05:00
Rene Rivera
a7ada7dddc Fix include reference to endian.h header. 2013-08-06 22:00:35 -05:00
grafikrobot
1153d28320 Add platform.h header. 2013-05-02 23:23:03 -05:00
grafikrobot
5fd44efb4a Move MINGW platform to formalized 2013-05-02 23:22:09 -05:00
Rene Rivera
bbff5c0fcf Bring back IA64 architecture. 2013-04-22 17:15:32 -05:00
Rene Rivera
b10e3490ec Completed all changes from review. 2013-04-02 21:40:46 -05:00
Rene Rivera
c22d44d0ce Seems I missed the Blackfin CPU detection header. Add missing compat
defs.
2013-03-21 21:33:18 -05:00