specifying the kernel version
specifying the kernel version
- Subject: specifying the kernel version
- From: Michael Tuexen <email@hidden>
- Date: Mon, 16 May 2005 23:13:48 +0200
Dear all,
is there a way using #ifdef to determine the kernel version built
during compilation?
config/MasterVersion suggests
# The correct way to make use of the kernel version within kernel code
or a
# kext is to include libkern/verison.h. version.h contains defines
that can
# be used for build-time version logic and prototypes for variables
that can
# be used for run-time version logic.
but libkern/version.h is not built on my machine.
Best regards
Michael
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden