Sun Studio 12 Update 1: C User's Guide

B.2.7 -Dname[(arg[,arg])][=expansion]

Define a macro with optional arguments as if the macro is defined by a #define preprocessing directive. If no =expansion is specified, the compiler assumes 1.

See the cc(1) man page for a list of compiler predefined macros.