Top |
Testing for Clock CapabilitiesTesting for Clock Capabilities — Checking whether the library supports the clock functions |
Before calling Glk date and time functions, you should use the
gestalt_DateTime
selector.
#define GLK_MODULE_DATETIME
If you are writing a C program, you can perform a preprocessor test for the
existence of GLK_MODULE_DATETIME
. If this is defined, so are all the
functions and data types described in this section.