How to detect what platform an application is running on in C

Posted by Mark Szymanski on Stack Overflow See other posts from Stack Overflow or by Mark Szymanski
Published on 2010-03-30T01:46:39Z Indexed on 2010/03/30 1:53 UTC
Read the original article Hit count: 267

Filed under:
|

Hi, I was wondering how you could detect what platform a program is running on, I have an application and need it to go to a certain folder depending on whether it is on a Linux or Mac machine.

Thanks!

© Stack Overflow or respective owner

Related posts about c

    Related posts about platform