Possible Duplicate:
Is there a way to detect from inside a package that MikTeX is used?
We have multiple people writing on the same project. Since some of us are TeX Livers and other MiKTeXers, I was curious if there was some way to check within a TeX file, with which LaTeX/pdfLaTeX distribution one is compiling? I have been fairly successful using ifplatform to remove some issues between Linux and Windows compilations, but am still facing some problems between MiKTeX and TeX Live.
Although, in my opinion a cross platform and cross TeX system compatible compilation may be a bit over the top...
\pdftexbannercontainsMiKTeXorTeX Live. Martin's answer discusses detection of both. – Werner Oct 17 '12 at 20:58