diff --git a/gebs.h b/gebs.h index c081503..4d9fd4e 100644 --- a/gebs.h +++ b/gebs.h @@ -387,6 +387,9 @@ void gebs_rebuild_self1_alloc(Gebs_Allocator *alloc, int argc, char ** argv, ({ \ const char *__deps[] = { __VA_ARGS__ }; \ bool __ok = false; \ + if (sizeof(__deps)/sizeof(__deps[0]) == 0) { \ + __ok = true; \ + } \ for (size_t __i = 0; __i < sizeof(__deps)/sizeof(__deps[0]); __i++) { \ if (gebs_needs_rebuild((out), __deps[__i])) { \ __ok = true; \