dawn_get_platform_infoΒΆ

Get the identification string of the platform.

dawn_get_platform_info()

The functions defines the following variable:

DAWN_PLATFORM_STRING
String of the platform.

and conditionally the following:

DAWN_ON_WIN32
Set to 1 if the platform is Win32-ish
DAWN_ON_UNIX
Set to 1 if the platform is Unix-ish
DAWN_ON_APPLE
Set to 1 if the platform is Darwin
DAWN_ON_LINUX
Set to 1 if the platform is Linux