Well, yeah. If you have any reason to suspect that you will need to run your code on other platforms or compile with other compilers, don't do compiler-specific things. Just do it cross-platform the first time.
Hell, even if you don't think you'll ever need to do that, you should still avoid doing things that are platform or compiler specific.