diff options
author | Emil Velikov <[email protected]> | 2017-03-20 16:04:16 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-03-22 16:55:22 +0000 |
commit | e3de145fa26dadf43f6e14ed69aace6a550cd157 (patch) | |
tree | bcf03029cf37225e28a15e20617cdb701d545bcd /src/compiler/nir/nir_phi_builder.h | |
parent | b08aee305ea0caf5035932b26b8fc75782b49160 (diff) |
nir: consistently use ifndef guards over pragma once
Signed-off-by: Emil Velikov <[email protected]>
Acked-by: Vedran Miletić <[email protected]>
Acked-by: Juha-Pekka Heikkila <[email protected]>
Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_phi_builder.h')
-rw-r--r-- | src/compiler/nir/nir_phi_builder.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_phi_builder.h b/src/compiler/nir/nir_phi_builder.h index a4dc18a2b22..c663d04183f 100644 --- a/src/compiler/nir/nir_phi_builder.h +++ b/src/compiler/nir/nir_phi_builder.h @@ -21,7 +21,8 @@ * IN THE SOFTWARE. */ -#pragma once +#ifndef NIR_PHI_BUILDER_H +#define NIR_PHI_BUILDER_H #include "nir.h" @@ -114,3 +115,5 @@ nir_phi_builder_value_get_block_def(struct nir_phi_builder_value *val, * adds the phi nodes to the program. */ void nir_phi_builder_finish(struct nir_phi_builder *pb); + +#endif /* NIR_PHI_BUILDER_H */ |