1

While reading uname.c (in order to recreate it) I found a variable called HOST_OPERATING_SYSTEM (line 371). It's never mentioned in the same file (as Strg+f told me) and not in the dependencies of uname.c, as far as I could see.

Where is the variable initialized and how to access it?

Asqiir
  • 607
  • 1
  • 8
  • 23

1 Answers1

3

HOST_OPERATING_SYSTEM is defined at build time using autoconf modules defined in gnulib.

larsks
  • 277,717
  • 41
  • 399
  • 399