do you mean both at the same time ?
so Windows is no problem anyway
with the macbook it depends on what kind of outputs you have. but with the right adapters everything is no problem.
basically, no compatibility problem will prevent you from using this screen on your macbook.