]> wimlib.net Git - wimlib/blobdiff - include/wimlib/compiler.h
Add Windows tests for empty and max length reparse points
[wimlib] / include / wimlib / compiler.h
index 11eaa2398f2a560dd336872c1e355a9d2d955fcf..5327318832f3c7ffb6dd9484117e73f9333a9f75 100644 (file)
 #  define noinline
 #endif
 
+/* Same as 'noinline', but 'noinline_for_stack' documents that 'noinline' is
+ * being used to prevent the annotated function from being inlined into a
+ * recursive function and increasing its stack usage.  */
+#define noinline_for_stack     noinline
+
 #ifndef CPU_IS_BIG_ENDIAN
-#  error "missing required definition of CPU_IS_BIG_ENDIAN"
+#  error "missing required endianness definition"
 #endif
 
 #define CPU_IS_LITTLE_ENDIAN (!CPU_IS_BIG_ENDIAN)