Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • G GLib
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 857
    • Issues 857
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 56
    • Merge requests 56
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • GLib
  • Merge requests
  • !2986

meson: Define G_OS_LINUX and G_OS_*BSD's

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Marco Trevisan requested to merge wip/3v1n0/more-unix-oses into main Oct 19, 2022
  • Overview 21
  • Commits 6
  • Pipelines 5
  • Changes 17

As we're doing it with DARWIN (in !2981 (merged), on which is based this MR) I think it's better to make the set more complete, even if specific compiler-defined values exist I feel it's nicer to have the G_OS_* defines more populated with the most common OSs (and also it exposes for what host glib has been compiled for).

Replaced internal values when they're safe enough to change.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: wip/3v1n0/more-unix-oses