mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-28 04:56:39 +02:00
+- Made static linking a little more possible (for -pg)
This commit is contained in:
@@ -17,9 +17,7 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
*/
|
||||
#define DYNAMIC_LINKING
|
||||
#include "config.h"
|
||||
#include "struct.h"
|
||||
#include "common.h"
|
||||
@@ -44,6 +42,11 @@
|
||||
#ifdef _WIN32
|
||||
#include "version.h"
|
||||
#endif
|
||||
#ifndef STATIC_LINKING
|
||||
#define DYNAMIC_LINKING
|
||||
#else
|
||||
#undef DYNAMIC_LINKING
|
||||
#endif
|
||||
|
||||
/* Place includes here */
|
||||
/* replace this with a common name of your module */
|
||||
|
||||
Reference in New Issue
Block a user