Original Post
Hello, i recall seeing somewhere a #ifdef to check the system that is running now... Does anyone knows how to check for the system that it is compiled on? If you wonder why... I want to be able to compile on linux and windows without changing code or include files. something like that
if OS is Linux
#include <ncurses.h>
else
#include <graphics.h>