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:
+7
-10
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user