tests: remove unused getopt header includes
[platform/upstream/intel-gpu-tools.git] / assembler / brw_compat.h
index 9300190..e909182 100644 (file)
@@ -57,6 +57,11 @@ extern "C" {
 #define PRINTFLIKE(f, a)
 #endif
 
+#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
+#define Elements(x) ARRAY_SIZE(x)
+
+typedef union { float f; int i; unsigned u; } fi_type;
+
 #ifdef __cplusplus
 } /* end of extern "C" */
 #endif