]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ir.h
Use "##" to ensure the names of the accumulated functions are striped by the IR.
[xonotic/gmqcc.git] / ir.h
diff --git a/ir.h b/ir.h
index 73dd447c0df8c946189809557f6dc60caf4ff676..3c236ea7f12e83200656afd82697abd08946d69e 100644 (file)
--- a/ir.h
+++ b/ir.h
@@ -51,11 +51,11 @@ typedef struct ir_value_s {
     /* constantvalues */
     bool hasvalue;
     union {
-        float    vfloat;
-        int      vint;
-        vec3_t   vvec;
-        int32_t  ivec[3];
-        char    *vstring;
+        qcfloat_t vfloat;
+        int       vint;
+        vec3_t    vvec;
+        int32_t   ivec[3];
+        char     *vstring;
         struct ir_value_s *vpointer;
         struct ir_function_s *vfunc;
     } constval;