summaryrefslogtreecommitdiff
path: root/tables_shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'tables_shared.h')
-rw-r--r--tables_shared.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tables_shared.h b/tables_shared.h
index 571f4d8..d2afff0 100644
--- a/tables_shared.h
+++ b/tables_shared.h
@@ -63,6 +63,12 @@ dnl flex code (hence the name "_shared").
#define YYTBL_MAGIC 0xF13C57B1
#endif
+/** Calculate (0-7) = number bytes needed to pad n to next 64-bit boundary. */
+#ifndef yypad64
+#define yypad64(n) ((8-((n)%8))%8)
+#endif
+
+
/** Possible values for t_id field. Each one corresponds to a
* scanner table of the same name.
*/