summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-15 21:46:24 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-15 21:46:24 +0300
commitb1266b79e51534a5d5673639e49a8fdbbb747026 (patch)
treefeb0b1983042d8b9dd72df7266c3ddfc41ca3d37 /utils
parent2160d0a2343309c3c1e13ceb74061b39f306a063 (diff)
__NO_CMPLUGIN_NEEDED added to plugin headers to allow them be compiled
Diffstat (limited to 'utils')
-rw-r--r--utils/mir_options.cpp1
-rw-r--r--utils/mir_smileys.cpp3
2 files changed, 4 insertions, 0 deletions
diff --git a/utils/mir_options.cpp b/utils/mir_options.cpp
index c027b4e7e1..165edbc0b7 100644
--- a/utils/mir_options.cpp
+++ b/utils/mir_options.cpp
@@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA.
#include <commctrl.h>
#include <stdio.h>
+#define __NO_CMPLUGIN_NEEDED
#include <newpluginapi.h>
#include <m_database.h>
#include <m_utils.h>
diff --git a/utils/mir_smileys.cpp b/utils/mir_smileys.cpp
index 9758cd5065..aea8de3a74 100644
--- a/utils/mir_smileys.cpp
+++ b/utils/mir_smileys.cpp
@@ -17,10 +17,13 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
+#define __NO_CMPLUGIN_NEEDED
+
#include "mir_smileys.h"
#include "utf8_helpers.h"
#include <richedit.h>
+
#include <m_smileyadd.h>
#include <newpluginapi.h>
#include <m_langpack.h>