defines for OS independence