openfoam/wmake/rules/darwin64Clang
Mark Olesen 8928ac54bd COMP: use standard compiler macros when distinguishing the OS
- replace (darwin) with (__APPLE__)
- replace (solarisGcc) with (__sun__ && __GNUC__)
- instead of 'darwin' -> '__APPLE'

- cease with passing a -D$(WM_ARCH) define since this adds no useful
  additional information and isn't used anywhere.

Reference
http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system

--

COMP: Extend size disambiguation on long (#1238)
2019-04-12 18:42:30 +02:00
..
c COMP: manage cpu architecture with cARCH, c++ARCH internal make variables 2019-04-12 12:59:11 +02:00
c++ COMP: manage cpu architecture with cARCH, c++ARCH internal make variables 2019-04-12 12:59:11 +02:00
c++Debug COMP: some low-level darwin-related patches 2018-04-09 12:48:55 +02:00
c++Opt COMP: some low-level darwin-related patches 2018-04-09 12:48:55 +02:00
c++Prof COMP: some low-level darwin-related patches 2018-04-09 12:48:55 +02:00
cDebug COMP: some low-level darwin-related patches 2018-04-09 12:48:55 +02:00
CGAL ENH: Darwin adjustments 2018-06-13 13:32:19 +02:00
cOpt COMP: some low-level darwin-related patches 2018-04-09 12:48:55 +02:00
cProf COMP: some low-level darwin-related patches 2018-04-09 12:48:55 +02:00
general COMP: use standard compiler macros when distinguishing the OS 2019-04-12 18:42:30 +02:00