il typedef definisce un nome di tipo.. tu devi definire un alias di tipo quindi si usa la #define