summaryrefslogtreecommitdiffhomepage
path: root/Opcode/Opcode.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-10-03 16:51:12 +0200
committerAki <please@ignore.pl>2021-10-03 16:51:12 +0200
commit104248aabf40b692231fccd1adf1a2a494f1589a (patch)
tree5eee42a18a9688b03b483aff5c2bedffb4fe8a6c /Opcode/Opcode.h
parentddd76aa4e1571c8d5965709db5c3cd47a89c9a38 (diff)
parentd2f333bf998691760b8970c2784756d0fa81e820 (diff)
downloadstarshatter-104248aabf40b692231fccd1adf1a2a494f1589a.zip
starshatter-104248aabf40b692231fccd1adf1a2a494f1589a.tar.gz
starshatter-104248aabf40b692231fccd1adf1a2a494f1589a.tar.bz2
Stars45 can now be built under MSYS2/Mingw32
Diffstat (limited to 'Opcode/Opcode.h')
-rw-r--r--Opcode/Opcode.h27
1 files changed, 3 insertions, 24 deletions
diff --git a/Opcode/Opcode.h b/Opcode/Opcode.h
index ca29a91..33b0c5c 100644
--- a/Opcode/Opcode.h
+++ b/Opcode/Opcode.h
@@ -21,32 +21,11 @@
#define __OPCODE_H__
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-// Compilation messages
-#if defined(OPCODE_EXPORTS)
- #pragma message("Compiling OPCODE")
-#elif !defined(OPCODE_EXPORTS)
- #pragma message("Using OPCODE")
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- // Automatic linking
- #ifndef BAN_OPCODE_AUTOLINK
- #ifdef _DEBUG
- #pragma comment(lib, "Opcode_D.lib")
- #else
- #pragma comment(lib, "Opcode.lib")
- #endif
- #endif
-#endif
-
-///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Preprocessor
-#ifndef ICE_NO_DLL
- #ifdef OPCODE_EXPORTS
- #define OPCODE_API __declspec(dllexport)
- #else
- #define OPCODE_API __declspec(dllimport)
- #endif
+#ifdef OPCODE_EXPORTS
+ #define OPCODE_API __declspec(dllexport)
#else
- #define OPCODE_API
+ #define OPCODE_API __declspec(dllimport)
#endif
#include "OPC_IceHook.h"