00001 #ifndef UDPRAW_API_H 00002 #define UDPRAW_API_H 00003 00004 // set up windows dll stuff 00005 #ifdef _WIN32 00006 #ifdef UDPRAW_EXPORTS // define this when compiling the dll, otherwise don't! 00007 #define UDPRAW_API __declspec(dllexport) 00008 #else 00009 #define UDPRAW_API __declspec(dllimport) 00010 #endif 00011 #else 00012 // define api to be nothing for linux 00013 #define UDPRAW_API 00014 #endif 00015 00016 #endif