Objective-C Language Predefined Macros


ANSI C defines a number of macros. Although each one is available for your use in programming, the predefined macros should not be directly modified.


  1. DATE The current date as a character literal in "MMM DD YYYY" format
  2. TIME The current time as a character literal in "HH:MM:SS" format
  3. FILE This contains the current filename as a string literal.
  4. LINE This contains the current line number as a decimal constant.
  5. STDC Defined as 1 when the compiler complies with the ANSI standard.