OSDN Git Service

i965/cfg: Protect brw_cfg.h from multiple inclusion.
authorMatt Turner <mattst88@gmail.com>
Wed, 19 Feb 2014 22:47:57 +0000 (14:47 -0800)
committerMatt Turner <mattst88@gmail.com>
Thu, 15 May 2014 22:45:39 +0000 (15:45 -0700)
Acked-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_cfg.h

index 7bd3e24..5911107 100644 (file)
  *
  */
 
+#pragma once
+#ifndef BRW_CFG_H
+#define BRW_CFG_H
+
 #include "brw_shader.h"
 
 class bblock_t;
@@ -89,3 +93,5 @@ public:
    bblock_t **blocks;
    int num_blocks;
 };
+
+#endif /* BRW_CFG_H */