The open source world is littered with all kinds of specialized licenses that came about because a developer once said "Here is my source code. Do anything you like with it! ... wait! Except for that!".
I don't know if there is, but I wouldn't be surprised if there is a license available that restricts you from porting the code to MS Windows or any other proprietary OS.
replies(1):