nir: consistently use ifndef guards over pragma once
[mesa.git] / src / compiler / nir / nir_instr_set.h
index 939e8ddbf58505105475dc67f1364e2a4adfb5d5..26817f62e96bfa5d2be8bc12372ddcb1e21c29ae 100644 (file)
@@ -21,7 +21,8 @@
  * IN THE SOFTWARE.
  */
 
-#pragma once
+#ifndef NIR_INSTR_SET_H
+#define NIR_INSTR_SET_H
 
 #include "nir.h"
 
@@ -60,3 +61,4 @@ void nir_instr_set_remove(struct set *instr_set, nir_instr *instr);
 
 /*@}*/
 
+#endif /* NIR_INSTR_SET_H */