MrSID Decode SDK for Raster Reference Manual 9.5.4.4709

- Main Page
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

lt_platform.h File Reference

Preprocessor symbols for canonical identification of OS, architecture, and compiler. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Detailed Description

Scrupulous use of these and only these symbols avoids portability problems due to inconsistent platform tests.

For a given target platform XYZ, we define three symbols with the value 1:

- `LT_OS_XYZ` defines the operating system
- `LT_COMPILER_XYZ` defines the compiler
- `LT_ARCH_XYZ` defines the HW architecture

Note for Windows, we treat WIN32, WIN64, and WinCE as distinct OS's, but both will define LT_OS_WIN for the typical cases.

See the file lt_platform.h for full details.

Note
  This file is C-callable.

Definition in file lt_platform.h.

LizardTech