(Apple) platform_apple.c - cleanups