Commit 7de7b49f authored by Wayne Davison's avatar Wayne Davison

Don't define NORETURN for older gcc versions.

parent d0d0e41f
......@@ -664,10 +664,15 @@ struct chmod_mode_struct;
#ifndef __GNUC__
#define __attribute__(x)
# if __GNUC__ <= 2
# define NORETURN
# endif
#endif
#define UNUSED(x) x __attribute__((__unused__))
#ifndef NORETURN
#define NORETURN __attribute__((__noreturn__))
#endif
#include "proto.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment