00001 #ifndef SOCKETS_DLL_SUPPORT_GROUP 00002 #define SOCKETS_DLL_SUPPORT_GROUP 00003 00004 /***************************************************************************** 00005 * 00006 * Name : network dll support 00007 * Author : Chris Koeritz 00008 * 00009 * Purpose: 00010 * 00011 * Helps the sockets library to live in a dll. 00012 * 00013 ******************************************************************************* 00014 * Copyright (c) 1996-$now By Author. This program is free software; you can * 00015 * redistribute it and/or modify it under the terms of the GNU General Public * 00016 * License as published by the Free Software Foundation; either version 2 of * 00017 * the License or (at your option) any later version. This is online at: * 00018 * http://www.fsf.org/copyleft/gpl.html * 00019 * Please send any updates to: fred@gruntose.com * 00020 \*****************************************************************************/ 00021 00022 #include <basis/build_configuration.h> 00023 00024 // define BUILD_SOCKETS when you are creating the network dll and 00025 // define USE_HOOPLE_DLLS when you are importing a class from the dll. 00026 #ifdef BUILD_SOCKETS 00027 #define SOCKETS_CLASS_STYLE HOOPLE_DLL_EXPORT_CLASS 00028 #define SOCKETS_FUNCTION_STYLE HOOPLE_DLL_EXPORT_FUNCTION 00029 #elif defined(USE_HOOPLE_DLLS) 00030 #define SOCKETS_CLASS_STYLE HOOPLE_DLL_IMPORT_CLASS 00031 #define SOCKETS_FUNCTION_STYLE HOOPLE_DLL_IMPORT_FUNCTION 00032 #else 00033 #define SOCKETS_CLASS_STYLE 00034 #define SOCKETS_FUNCTION_STYLE 00035 #endif 00036 00037 #endif 00038
1.5.1