1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 11:43:13 +02:00

A few more Win32 fixes, Anope 1.9 compiles and runs under Windows now.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1799 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
cyberbotx
2008-11-26 22:13:01 +00:00
parent 797edb40ba
commit 2e41f43ace
6 changed files with 23 additions and 29 deletions
+7 -10
View File
@@ -1,16 +1,13 @@
#include "version.h"
#ifndef _WIN32
#define E extern
#define I extern
#ifdef _WIN32
# ifdef MODULE_COMPILE
# define E extern __declspec(dllexport)
# else
# define E extern __declspec(dllimport)
# endif
#else
#ifndef MODULE_COMPILE
#define E extern __declspec(dllexport)
#define I extern __declspec(dllimport)
#else
#define E extern __declspec(dllimport)
#define I extern __declspec(dllexport)
#endif
# define E extern
#endif
extern "C"