> If its in the client what does it matter? Only runs in windows =)

The problem is that much of the "client" code is shared between the client
and the server (and the server can be compiled and run on Linux).

If you don't plan on building a Linux version of a MOD, you don't have to
worry about platform independence.  If you want to build a Linux version of
a MOD, you will need to make sure you're not including Windows specific
header files that will need to be compiled on Linux.  A simple way to
prevent this is to use #ifdef to see if you are building for Win32 or
Linux...

#ifndef __linux__
// windows specific stuff here
#include <windows.h>
#else
// linux specific stuff here
#endif

Jeffrey "botman" Broome

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to