Use a define to handle conflicting function read_buf instead of