OSDN Git Service

util: introduce detect_os.h
authorEric Engestrom <eric.engestrom@intel.com>
Thu, 1 Aug 2019 13:48:26 +0000 (14:48 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Fri, 2 Aug 2019 17:38:52 +0000 (18:38 +0100)
commit362e9d8682a5eb3808fd574d4a21982a58ecafa7
treec88eea2084959d9eca3074cb3ace533c23d5e8f7
parent9d5beab4414f483ad94372d36c2c6f23f6c1ca41
util: introduce detect_os.h

Mostly copied from src/gallium/include/pipe/p_config.h, so I kept its
copyright and authorship.

Other than the obvious rename, the big difference is that these are
always defined, to be used as `#if DETECT_OS_LINUX`.

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/util/detect_os.h [new file with mode: 0644]