/* redisassert.h - simplified assert for standalone ae library */ #ifndef __REDIS_ASSERT_H__ #define __REDIS_ASSERT_H__ #include #include #include /* config.h provides redis_unreachable for standalone AE builds. */ /* Panic function for error handling */ #define panic(...) do { \ fprintf(stderr, "PANIC: " __VA_ARGS__); \ fprintf(stderr, "\n"); \ abort(); \ } while(0) #endif