LibDT Macros

Macros for use with LibDT.