i965/tiled_memcpy: avoid creating bswap32 if it exists as a macro (e.g. on FreeBSD)
[mesa.git] / src / intel / isl / isl_gen7.h
index ddc6cab65f8849a835af6a6f45652b7c1caeac4f..f1b7252ba3ea807e88fd4bf45b99a59a938dd121 100644 (file)
@@ -21,7 +21,8 @@
  *  IN THE SOFTWARE.
  */
 
-#pragma once
+#ifndef ISL_GEN7_H
+#define ISL_GEN7_H
 
 #include "isl.h"
 
@@ -51,3 +52,5 @@ isl_gen7_choose_image_alignment_el(const struct isl_device *dev,
 #ifdef __cplusplus
 }
 #endif
+
+#endif /* ISL_GEN7_H */