os-specific code
nounUK /ˌəʊˈes spəˈsɪfɪk kəʊd/
US /ˌoʊˈes spəˈsɪfɪk koʊd/
Code that only works on one kind of computer system.
The app has os-specific code so it can run on both Windows and Mac.
OTHER MEANINGS
2. Instructions written for a particular operating system's features.
The developer added os-specific code to use Windows notifications.
3. A section of a program that must be changed for each operating system.
They kept the os-specific code in a separate folder.
4. Code that relies on system calls unique to one OS.
Linux os-specific code handles file permissions differently.