pixel.c portability