Hello,..
im working on applet that need to work both on windows and linux the problem is that i wish to create a single funciton that will work in diffrent ways on diffrent os .
i thout using
#ifdef __windows
#include <foo4win>
#endif __windows
#ifdef __linux
#include <foo4lin>
#endif __linux
int foo(){
#ifdef __windows
.
.
.
#endif __windows
ifdef __linux
.
.
.
#endif
but i don't know what ifdef i should use (since __linux didn't compile).
what is the proper #ifdef #endif for code for linux and windows