#pragma ONCE: Include Once

Scope

File

Syntax
  #pragma ONCE 
  
Synonym

None

Arguments

None

Default

None

Description

When this pragma appears in a header file, the Compiler opens and reads the file only once. This increases compilation speed.

Example

#pragma ONCE

See also

-Pio: Include Files Only Once compiler option