Fixed wthp ap.c macro expansion